Gamescord
Some fun and interactive games to add to your JavaScript Discord Bot!
Shortcuts
Snakegame command
const discord = require("discord.js");
const client = new discord.Client()
const gamescord = require("gamescord");
client.on("message", async message => {
if (message.content.startsWith("g!snake")) {
const snakeGame = new gamescord.snakegame(message)
snakeGame.startGame();
}
})
client.login("token");
more about snakegame
Credits
Note
This library is not made entirely from scratch, it is more like a compilation of some libraries with improvements in some aspects such as customization!