if(['tenor.com/view','giphy.com/gifs','giphy.com/media'].some(e=>message.content.toLowerCase().includes(e))&&bannedChannels.includes(message.channelId))message.reply('Gifs are not allowed in this channel.').then(()=>message.delete())
deadChat:['dead chat','chat is dead','dead server','inactive chat','inactive channel']
}
constoutgoingArrays={
morning:[
`Morning ${PersonnyMcPerson}, did you sleep great?`,`Good morning ${PersonnyMcPerson}!`,`Hope you enjoyed your breakfast, ${PersonnyMcPerson}!`,
`Gm ${PersonnyMcPerson}.`,`Uh.. What time is it? Oh yea, morning ${PersonnyMcPerson}.`,`Morning and hope you had a good dream last night, ${PersonnyMcPerson}.`,
'Time to get started with today\'s stuff!',`Don't forget to do your morning routine, ${PersonnyMcPerson}!`,'Enjoy the breakfast and start your day.',
'Nuh! No morning message for you!\n*Just kidding, good morning!*',`Rise and shine, ${PersonnyMcPerson}.`,'Howdy! How\'s your morning?',
`*opens blinds wide enough to blast sunrays into the room*\nWakey wakey, ${PersonnyMcPerson}. Time to get up!`,'https://tenor.com/view/skyrim-intro-awake-finally-awake-gif-22633549',
`Good grief, is it Monday already? Anyways, morning ${PersonnyMcPerson}..`,`This time I can shout! So here we go! 1..2..3\n*inhales*\nMORNING ${PersonnyMcPerson.toUpperCase()}!`,
'Gooooood morning to you!',`Good morning to you! You know what else is good? A segue to our sponsor, breakfast!\nGet started with getting out of the bed and have some breakfast!`,
`## Morning ${PersonnyMcPerson}!`,'### Have a wonderful day ahead of you!',`Here, have some pancakes for breakfast, ${PersonnyMcPerson}`,'Is it Friday yet? This week is getting boring already!',
`You have reached ${client.moment.utc().dayOfYear().toLocaleString('en-US')}th day of the year. Also good morning to you as well!`
'I can\'t believe the time flies so quickly!',`Evening ${PersonnyMcPerson}!`,`Hope you enjoyed the dinner, ${PersonnyMcPerson}!`,
`Good evening ${PersonnyMcPerson}!`,'You look tired, ready to go to sleep yet?','Being outside was an exhausting task isn\'t it?',
'Did you have a good day so far?','May I suggest sleep?',`You heard me! ${PersonnyMcPerson}, it's almost dinner time!`,
`How's your day going, ${PersonnyMcPerson}?`,`${PersonnyMcPerson}, may I suggest... *sleep?*`,'Today is almost over, you deserve some rest!'
],
night:[
`Good night ${PersonnyMcPerson}!`,`Night ${PersonnyMcPerson}!`,`Sweet dreams, ${PersonnyMcPerson}.`,`Don't fall out of sky in your dreamworld, ${PersonnyMcPerson}!`,
'Nighty night!',`I hope tomorrow is a good day for you, ${PersonnyMcPerson}!`,`Have a good sleep, ${PersonnyMcPerson}!`,`I :b:et you a cookie if you actually slept through the night! ${PersonnyMcPerson}`,
`Sleep well ${PersonnyMcPerson}.`,`Gn ${PersonnyMcPerson}.`,`Close your eyelids and sleep, ${PersonnyMcPerson}.`,`Good night ${PersonnyMcPerson} and hope your pillow is nice and cold!`,
if(message.mentions.members.has('309373272594579456')&&!client.isStaff(message.member))message.reply('Please don\'t tag Daggerwin, read rule 14 in <#468846117405196289>');
if(message.mentions.members.has('215497515934416896')&&!client.isStaff(message.member)&&message.type!=19)message.reply('Please don\'t tag Monster unless it\'s important!');
if(incomingArrays.password.some(e=>message.content.toLowerCase().includes(e)))message.reply('Password and other details can be found in <#543494084363288637>');
if(msgarr.includes('nawdic')&&incomingArrays.theyBrokeIt.some(e=>msgarr.includes(e))&&client.isStaff(message.member)&&message.channelId!=='516344221452599306')message.reply({embeds:[newclient.embed().setTitle('*Nawdic has done an oopsie*').setImage('https://c.tenor.com/JSj9ie_MD9kAAAAC/kopfsch%C3%BCtteln-an-kopf-fassen-oh-no.gif').setColor(client.config.embedColor)]});
if(msgarr.includes('monster')&&incomingArrays.theyBrokeIt.some(e=>msgarr.includes(e))&&client.isStaff(message.member)&&message.channelId!=='516344221452599306')message.reply({embeds:[newclient.embed().setTitle('*Monster has broken something*').setImage('https://media.tenor.com/ZIzIjb_wvEoAAAAC/face-palm.gif').setColor(client.config.embedColor)]});
if(message.content.startsWith('!!_wepanikfrfr')&&client.config.whitelist.includes(message.author.id))(client.guilds.cache.get(message.guildId)asDiscord.Guild).commands.set(client.registry).then(()=>message.reply('How did you manage to lose the commands??? Anyways, it\'s re-registered now.')).catch((e:Error)=>message.reply(`Failed to deploy slash commands:\n\`\`\`${e.message}\`\`\``));