1.0.8 • Published 3 years ago

quick-discord v1.0.8

Weekly downloads
352
License
ISC
Repository
github
Last release
3 years ago

⚠ This Package is Still in Development! (Find any bugs? Join Our Discord Server, link is at the bottom of this page!)

QuickDiscord

Create Commands for your Discord Bot with Ease with just a few Lines of Code.

Install Package

Let's take a look at how you can install this package into your Discord Bot Project.

npm i quick-discord --save

Example Code

const Discord = require("discord.js");
const quickDiscord = require("quick-discord");
const client = new Discord.Client();

const PREFIX = "!";

client.on("ready", () => {
    console.log("Bot is Online")
});

client.on("message", async message => {
    if(message.content.startsWith(`${PREFIX}ping`)) {
        quickDiscord.ping(client, message)
    }
    else if(message.content.startsWith(`${PREFIX}help`)) {
        quickDiscord.help(message, {
            "Basic Commands": ["ping", "help", "poll"],
            "Music Commands": ["play", "stop", "seek"],
            "Admin Commands": ["kick", "warn", "ban"]
        });
    }
    else if(message.content.startsWith(`${PREFIX}poll`)) {
        quickDiscord.poll(message, "Is this a Good Package?", 30000) //time is optional
    }
});

client.login("Discord Bot Token")

Need Help? Join Our Discord Server!

https://discord.gg/P2g24jp

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago