2.0.1 • Published 2 years ago

@danspotnytool/thiscord.js v2.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago
  • Listen to Discord API Gateway
  • Receive events (MESSAGE_CREATE, READY, etc...)
  • Validate token before opening a connection
  • Check if the token is for a bot or a user account
  • Documentation
  • All events
npm i @danspotnytool/thiscord.js
const ThisCord = require('@danspotnytool/thiscord.js'); // Because npm won't allow me to use `thiscord,js`
const client = new ThisCord.Client();

client.on('ready', () => {
     console.log('Ready!');
});

client.on('messageCreate', (msg) => {
     console.log(`${msg.author.username}: ${msg.content}`);
});

client.login('TrustMeThisTokenIsLegit');
  • Before creating an issue, please ensure that it hasn't already been reported/suggested
  • I need help with documentation because I can't understand TypeScript and there's not enough tutorial for JSdoc
2.0.1

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago