iris-discord
v0.1.2
Published
```js import { Client, GatewayIntents, GatewayEvents } from "iris-discord";
Downloads
2
Readme
Iris JS
import { Client, GatewayIntents, GatewayEvents } from "iris-discord";
const client = new Client({
intents: [
GatewayIntents.Guilds
]
});
client.on(GatewayEvents.Ready, () => {
console.log('Ready!');
});
client.on(GatewayEvents.MessageCreate, async (message: any) => {
if (message.content === '!ping') {
message.reply('Pong!')
}
});
client.login('token');