if(['a','add','e','edit','delete','d'].includes(args[0].toLowerCase())&&(!tg||!tg.staffrole||!tg.staffrole.length||(message.member.roles.cache.has(tg.staffrole)&&message.member.permissions.has("ADMINISTRATOR")))){returnmessage.channel.send("You must have the staff role or be an administrator in this server in order to edit AR settings.");}
if(['a','add','e','edit','delete','d'].includes(args[0].toLowerCase())&&((!tg||!tg.staffrole||!tg.staffrole.length||!message.member.roles.cache.has(tg.staffrole))&&!message.member.permissions.has("ADMINISTRATOR"))){returnmessage.channel.send("You must have the staff role or be an administrator in this server in order to edit AR settings.");}
if(['a','add'].includes(args[0].toLowerCase())){
if(['a','add'].includes(args[0].toLowerCase())){
lettrigger=awaitask(message,"What would you like the trigger to be? This is the message that will make your AR work.",120000);if(!trigger){returnnull;}
lettrigger=awaitask(message,"What would you like the trigger to be? This is the message that will make your AR work.",120000);if(!trigger){returnnull;}