This commit is contained in:
2025-11-02 18:34:53 -05:00
parent 849b30d758
commit d857c7b8cc

View File

@@ -23,6 +23,7 @@ client.once(Events.ClientReady, readyClient => {
}); });
client.login(token); client.login(token);
const 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!
const regexProfile = /https?:\/\/x\.com\/(.*?)\/status\/(\d+)/; const regexProfile = /https?:\/\/x\.com\/(.*?)\/status\/(\d+)/;
@@ -41,7 +42,6 @@ client.on(Events.MessageCreate, message => {
} }
// 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)) {
const code = message.content.slice(6); const code = message.content.slice(6);
try { try {