.addField("Notice","You must be a staff or admin in your server to edit these settings.")
.addField("Responses","Your leave message should be generated through a response using my `response` command, and then bound to the leave message by providing your response's name."),
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(['s','set'].includes(args[0].toLowerCase())){
if(!args[1]){returnmessage.reply("You need to specify a channel for your leave messages to be sent in!");}
if(!ch){returnmessage.reply("I can't find that channel!");}
if(!message.guild.channels.cache.get(ch).permissionsFor(client.user.id).has("SEND_MESSAGES")){returnmessage.reply("I can't send messages in that channel. Try fixing the permissions or using a different channel!");}
if(!args[2]){returnmessage.reply(`You have to specify a response to use! You can make one with \`${prefix}response new\`.`);}
if(!tr.responses.has(args[2].toLowerCase())){returnmessage.reply("Silly, I can't let you know that someone left with a response that doesn't exist! Try making one or make sure you spelled the name correctly.");}
.setDescription(`This server's leave-notifying settings have been altered by ${message.author.tag}.\n\n**Channel**: <#${ch}>\n**Response Name**: \`${args[2].toLowerCase()}\``)
if(!tr||!tr.bindings.has('leave')||!tr.responses.has(tr.bindings.get('leave'))){returnmessage.reply("I can't test your leave message because the response doesn't exist, a leave response isn't set, or you haven't made any responses in this server.");}