playcord
Version:
playcord is an epic discord.js package which allows you to make an epic discord bot with some fun features :D!
35 lines (23 loc) • 806 B
Markdown
playcord is an epic discord.js package which allows you to make an epic discord bot with some fun features :D!
>npm install playcord
```js
const discord = require('discord.js')
const playcord = require('playcord')
const client = new discord.Client({intents: ['Guilds', 'GuildMessages']})
client.on('messageCreate', (msg) => {
if (msg.content.startsWith('!numberguess')) {
await playcord.GuessTheNumber(msg, 100)
}
if (msg.content.startsWith('!reactfast')) {
await playcord.ReactFast(msg)
}
if (msg.content.startsWith('!typeit')) {
await playcord.TypeIt(msg)
}
if (msg.content.startsWith('!pokeguess')) {
await playcord.WhosThatPokemon(msg)
}
})
```