summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-11 06:22:53 -0700
committer8cy <[email protected]>2020-04-11 06:22:53 -0700
commita80abc36f8a610cc97bd99479a6bbf55782be579 (patch)
tree3ff59dab029435584bc25b8f48978528c955f746 /app.js
parentreworks, v2.0.5 (diff)
downloads5nical-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.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app.js b/app.js
index 2b44ed8..c3990c4 100644
--- a/app.js
+++ b/app.js
@@ -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');
}