1.1.3 • Published 4 years ago
re-discord v1.1.3
re-discord
Developing:
npm install -g esy
git clone <this-repo>
esy install
esy build
Running PingBot Example:
After building the project, you can run the main binary that is produced.
export DISCORD_BOT_TOKEN={INSERT_TOKEN}
esy x PingBot.exe
Documentation:
Supported Events:
onReady
onMessage(message)
onGuildMemberAdd(guild, member)
onGuildMemberRemove(guild, member)
onReactionAdd(message)
onReactionRemove(message)
Sending a message
Channel.send = (content: string, channel: Channel.t)
Message.reply = (content: string, message: Message.t)
Message.react = (emoji: string, message: Message.t)
Future Plans
- Resuming
- Attachments
- Higher level API
- More events!
- Voice Support
- Sharding
3.1.0-beta.1
4 years ago
1.1.3-beta.0
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
5 years ago
1.0.0
5 years ago