Wumpcord
🚣 Flexible, type-safe, and lightweight Discord API library made in TypeScript
Installation
You can install Wumpcord under NPM, as follows:
$ npm i --no-optional wumpcord
If you wish to install indev builds (that are most likely buggy), you can install them using:
$ npm i --no-optional wumpcord@indev
Features
Specific features require extra dependencies, this is a list that requires them
Optional Dependencies
erlpack
- Required: No
- Native: Yes
- Alternative: JSON (built-in)
Need Support?
You can join the server below and join in #support under the Wumpcord category
Example Bot
const { Client } = require('wumpcord');
const client = new Client({
intents: ['guilds', 'guildMessages'],
token: ''
});
client.on('message', event => {
if (event.message.content === '!ping') return event.message.channel.send('henlo world');
});
client.on('ready', async () => {
console.log(`Connected as ${client.user.tag}!`);
client.setStatus('online', {
type: 5,
name: 'uwu'
});
});
client.connect();
Maintainers
Testers
None at the moment.
License
Wumpcord is released under the MIT License. :sparkling_heart: