From d1bf02be1716bd2defb3fd1a43ba26f337626168 Mon Sep 17 00:00:00 2001 From: Alex Brow Date: Sun, 23 Feb 2020 12:21:46 -0500 Subject: [PATCH] egg --- src/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index e32031e..6a0b486 100755 --- a/src/index.js +++ b/src/index.js @@ -245,7 +245,12 @@ client.on("message", async message => { member.addRole(role); break; }; - client.channels.get("680243388695445587").send(`${member} has had their **DEFCON** level set to ${role} `) + try{ + client.channels.get("680243388695445587").send(`${member} has had their **DEFCON** level set to ${role} `); + }; + catch(error) { + console.error(error); + } return message.reply("\n**DEFCON** level set!\nGod Bless their souls") }; }; @@ -268,7 +273,6 @@ client.on("message", async message => { case 8: return message.channel.send(">>> I really don’t know what I did, like last year I had depression and it was really bad. At school I would get threats and really get teased bad. I would be called numerous names because the things I did. At one point in life I really just became alone and do rowing constantly. At that time I took adderall (I have adhd I use it responsibly never abused it) that thing kept me real down and just constant day dreaming. At the year of 2018 I got hit by a car while on a crosswalk. I was going down hill and the driver signaled me that I could pass.I was going 8MPH and the driver pulled up when I was 5 feet away from him and I rolled over his hood. Than I fell down broke my thumb and sprained my wrist. Instead of helping me the driver looked at me and fled. No drivers stoped to see if I was ok and nothing. My chain was broken and I had to walk to school with a strapped bike on my backpack and my wheel popped from a screw. But what really got me interested was aviation. Being inhuman and flying above the clouds is despicable. Couldn’t find a relationship because of my ADHD I just do stuff like jumping off a dock with my clothes on and just really stupid stuff. All the stuff I do is legal. But somehow people that vape smoke do drugs get mad ho*s. I really haven’t saw that cute. Maybe one day I’ll get someone that understands.but you know what they call me.....li-..l......adderall."); } - return message.channel.send(`Quote ${args[0]} not found`) } });