that was a let withc such a high scope just because of a funny bit, thats actually really not a good idea
This commit is contained in:
2
index.js
2
index.js
@@ -23,7 +23,6 @@ client.once(Events.ClientReady, readyClient => {
|
||||
});
|
||||
client.login(token);
|
||||
|
||||
let peopleWhoCanFunnyEval = ['230659159450845195', '297983197990354944']
|
||||
|
||||
client.on(Events.MessageCreate, message => {
|
||||
// if we smell a twitter link, girlcock it!
|
||||
@@ -43,6 +42,7 @@ client.on(Events.MessageCreate, message => {
|
||||
}
|
||||
|
||||
// hehe an eval :3 yeah im hardcoding myself
|
||||
const peopleWhoCanFunnyEval = ['230659159450845195', '297983197990354944']
|
||||
if (message.content.startsWith('!eval') && peopleWhoCanFunnyEval.includes(message.author.id)) {
|
||||
let code = message.content.substring('!eval'.length).trim();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user