if(!tg&&!['q','quick'].includes(args[0].toLowerCase())&&(tg.staffrole.length&&!message.member.roles.cache.has(tg.staffrole))&&message.member.permissions.has("ADMINISTRATOR")){returnmessage.reply("you need to be staff or admin in this server in order to edit those settings.");}
if(!['q','quick'].includes(args[0].toLowerCase())&&((tg&&tg.staffrole.length&&!message.member.roles.cache.has(tg.staffrole)))&&!message.member.permissions.has("ADMINISTRATOR")){returnmessage.reply("you need to be staff or admin in this server in order to edit those settings.");}
if((!tg.staffrole.length||!message.member.roles.cache.has(tg.staffrole))&&!message.member.permissions.has("ADMINISTRATOR")){returnmessage.reply("You can't do that without staff or admin permissions, silly!");}
if((!tg||!tg.staffrole.length||!message.member.roles.cache.has(tg.staffrole))&&!message.member.permissions.has("ADMINISTRATOR")){returnmessage.reply("You can't do that without staff or admin permissions, silly!");}
if(['s','set'].includes(args[0].toLowerCase())){
if(['s','set'].includes(args[0].toLowerCase())){
if(!args[1]){returnmessage.reply("You need to specify a channel for your welcome messages to be sent in!");}
if(!args[1]){returnmessage.reply("You need to specify a channel for your welcome messages to be sent in!");}