and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

...
 
Commits (6)
# TINT
Tint is node based Discord built using the discord.js npm library.
For now, it does absolutely nothing.
Thanks
\ No newline at end of file
...@@ -4,7 +4,27 @@ require('dotenv').config(); ...@@ -4,7 +4,27 @@ require('dotenv').config();
const client = new Discord.Client(); const client = new Discord.Client();
client.on('message', (message) => { client.on('message', (message) => {
console.log(message); if (!message.content.startsWith('%')) return;
if (message.content.toLowerCase().includes('ping')) {
message.channel.send('PONG MOMO');
return;
}
if (message.content.toLowerCase().includes('allah')) {
message.channel.send('Allah says alcohol is allowed as per Shatterdome senpai');
return;
}
if (message.content.toLowerCase() === '%whoami') {
message.channel.send('I am a worthless piece of garbage but still better than Kachra Seth @Alphis ;)');
return;
}
if (message.content.toLowerCase() === '%source') {
message.channel.send('Find the code for this abomination at https://git.rip/radicalpubes/tint ');
return;
}
});
client.once('ready', () => {
console.log('Choo Choo madafaka I\'m ready');
}); });
client.login(process.env.BOT_TOKEN); client.login(process.env.BOT_TOKEN);