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:
4
index.js
4
index.js
@@ -23,7 +23,6 @@ client.once(Events.ClientReady, readyClient => {
|
|||||||
});
|
});
|
||||||
client.login(token);
|
client.login(token);
|
||||||
|
|
||||||
let peopleWhoCanFunnyEval = ['230659159450845195', '297983197990354944']
|
|
||||||
|
|
||||||
client.on(Events.MessageCreate, message => {
|
client.on(Events.MessageCreate, message => {
|
||||||
// if we smell a twitter link, girlcock it!
|
// if we smell a twitter link, girlcock it!
|
||||||
@@ -41,8 +40,9 @@ client.on(Events.MessageCreate, message => {
|
|||||||
console.error(err.stack?.split('\n')[0] || err.message || String(err).split('\n')[0])
|
console.error(err.stack?.split('\n')[0] || err.message || String(err).split('\n')[0])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// hehe an eval :3 yeah im hardcoding myself
|
// hehe an eval :3 yeah im hardcoding myself
|
||||||
|
const peopleWhoCanFunnyEval = ['230659159450845195', '297983197990354944']
|
||||||
if (message.content.startsWith('!eval') && peopleWhoCanFunnyEval.includes(message.author.id)) {
|
if (message.content.startsWith('!eval') && peopleWhoCanFunnyEval.includes(message.author.id)) {
|
||||||
let code = message.content.substring('!eval'.length).trim();
|
let code = message.content.substring('!eval'.length).trim();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user