diff options
| author | 8cy <[email protected]> | 2020-04-11 06:22:53 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-11 06:22:53 -0700 |
| commit | a80abc36f8a610cc97bd99479a6bbf55782be579 (patch) | |
| tree | 3ff59dab029435584bc25b8f48978528c955f746 /app.js | |
| parent | reworks, v2.0.5 (diff) | |
| download | s5nical-a80abc36f8a610cc97bd99479a6bbf55782be579.tar.xz s5nical-a80abc36f8a610cc97bd99479a6bbf55782be579.zip | |
big portage, v2.1.0
- remove some commenting in app.js
- add gay, respect, btc, btcchange
- port itemshop, psycho and abee to new play system
- bolden important things in message responses
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -47,18 +47,16 @@ client.once('ready', () => { client.on('error', console.error);
client.on('message', async msg => {
- // When someone uses a command, it console.log's it
+ var msgContent = msg.content.toLowerCase();
function prefixCheck() {
if (msgContent.startsWith('s5n!')) {
return true;
}
}
- var msgContent = msg.content.toLowerCase();
if (prefixCheck()) {
console.log(msg.member.user.tag, 'says', msgContent, 'in #' + msg.channel.name);
}
- // Reacts with ping emoji when @everyone
if (msg.mentions.everyone) {
msg.react(':ArisaPing:695887537390223402');
}
|