1.0.0 • Published 12 months ago

playcord v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Introduction:

playcord is an epic discord.js package which allows you to make an epic discord bot with some fun features :D!

npm install playcord

Example Usage:

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)    
    }
})