Install Cordy
npm i cordy
Cordy Version - 1.0.5
Cordy is an open soruce npm package which eases your discord bot making
const Cordy = require("cordy")
new Cordy().starter("token",{activity:[{
status:"Cordy Goes Broom",
statusType:"PLAYING",
statusVisibility:"DND"}
],timer:5000});
const Cordy = require("cordy")
new Cordy().starter("token",{activity:[{
status:"Cordy Goes Broom",
statusType:"PLAYING",
statusVisibility:"DND"},
{
status:"Multiple status Uwu",
statusType:"LISTENING",
statusVisibility:"IDLE"},
{
status:"I can create infinite status with this packages",
statusType:"LISTENING",
statusVisibility:"IDLE"}
],timer:5000});
const Cordy = require("cordy")
new Cordy().lavalink(client,{
host:"hosturl",
port:port_number,
password:"lavalinkpassword",
identifier:"identifier for ur host",
retryAmount:number,
retryDelay:delay_number,
secure:boolean,
spotifyid:"spotifyid",
spotifysecret:"spotifysecret",
})
Read Readme folders to get detailed usage of each command heres Some example:
Chatbot
const cordy = require('cordy')
new cordy().chatbot(message,args,client,{
color:"FFCBCB",
owner:"Priyanshu"
})
Automeme
const cordy = require('cordy')
new cordy().automeme(message,args,client,{
timer:args[0]})
FindTheEmoji
const cordy = require('cordy')
new cordy().emoji(message,args,client)
Make sure these codes are in your message create event
Made with ❤️ by Priyanshu