michael michael bicycle
This commit is contained in:
3
index.js
3
index.js
@@ -41,7 +41,8 @@ client.on(Events.MessageCreate, message => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hehe an eval :3 yeah im hardcoding myself
|
// hehe an eval :3 yeah im hardcoding myself
|
||||||
if (message.content.startsWith('!eval ') && message.author.id === '230659159450845195') {
|
const peopleWhoCanFunnyEval = ['230659159450845195', '297983197990354944']
|
||||||
|
if (message.content.startsWith('!eval ') && peopleWhoCanFunnyEval.includes(message.author.id)) {
|
||||||
const code = message.content.slice(6);
|
const code = message.content.slice(6);
|
||||||
try {
|
try {
|
||||||
const response = eval(code);
|
const response = eval(code);
|
||||||
|
|||||||
Reference in New Issue
Block a user