gamescord

1.0.4 • Public • Published

Gamescord

Some fun and interactive games to add to your JavaScript Discord Bot!

Shortcuts

Snakegame

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!

This library uses some code snippets from these people

Terra-rian/snakecord

Package Sidebar

Install

npm i gamescord

Weekly Downloads

3

Version

1.0.4

License

ISC

Unpacked Size

26.6 kB

Total Files

7

Last publish

Collaborators

  • link33d