Worked on the 'game' command and added the 'meme' command

This commit is contained in:
ION606
2022-06-01 20:38:39 +03:00
parent 5edae8d097
commit f77a4e4147
9 changed files with 237 additions and 18 deletions
+15
View File
@@ -0,0 +1,15 @@
function randomHexColor() {
var letters = "0123456789ABCDEF";
// html color code starts with #
var randomcol = '#';
// generating 6 times as HTML color code consist
// of 6 letter or digits
for (var i = 0; i < 6; i++)
randomcol += letters[(Math.floor(Math.random() * 16))];
return randomcol;
}
module.exports = { randomHexColor }