Important
Discordly is still in development so it's only able to do some things.
Discordly also supports all versions of nodejs.
About
discordly is a powerful Node.js module that allows you to easily interact with the
Discord API.
- Object-oriented
- Predictable abstractions
- Performant
- 100% coverage of the Discord API
Example usage
const {Client, intents} = require('discordly')
const client = new Client({intents: [intents.Flags.GUILDS, intents.Flags.GUILD_MESSAGES, intents.Flags.GUILD_MESSAGE_REACTIONS]})
client.on('ready', () => {
console.log(`${client.tag} is ready.`)
})
client.on('message', message => {
if(message.author.bot) return;
if(message.content == '!help'){
message.channel.say('I am here to help :D')
}
})
client.login('Your secret token.')