interaction.reply({content:`Set ${channel} as the new welcome channel`,ephemeral:true})
}elseif(command=='welcome_message'){
// if (args.length < 2) { return interaction.reply('The command format is _!setup welcome\\_message_\nUse _{sn}_ to insert the server name, _{un}_ to insert the user name, and _{ut}_ to insert the user tag\nExample: _!setup welcome\\_message Welcome to {sn} Sir {un}#{ut}_'); }
constmsg=args[i].value;
if(msg.length>30||msg.length<1){returninteraction.reply({content:'Please specify a welcome message between 0 and 30 characters!',ephemeral:true});}
temp = 'Use _/setup welcome\\_channel [channel name]_ to set the welcome channel and _/setup welcome\\_message [message]_ to set a welcome message/\n';
} else if (args[1] == 'logs') {
temp = 'To enable logging, use the command _/setup keep\\_logs true_ and _/setup log\\_channel_ [channel name] to set the logging channel/\n';
temp += 'Use _/setup keep\\_logs false_ to disable logging and _/setup log\\_severity [none, low, medium, high]_ to set the threshold\n';
temp += '__Severities:__\n*none* - unmute, unban\n*low* - mute\n*medium* - kick\n*high* - ban\nEvery tier also includes all notifs for ***higher*** tiers (AKA _/setup log\\_severity none_ will log everything from every severity)\n';
} else if (args[1] == 'announcement') {
temp = "To pick the announcement channel, use _/setup announcement\\_channel_\nTo pick the announcement role, use _/setup announcement\\_role_";
} else { temp = 'Use _/setup Please use the following format: _/setup help [welcome, logs, announcement]_\nExample: _/setup help welcome_'; }
{name:'welcome_channel',description:'Sets the channel for welcome messages',type:Constants.ApplicationCommandOptionTypes.CHANNEL},
{name:'welcome_message',description:'Sets the welcome message, Use {un} for username, {ut} for user tag and {sn} for server name',type:Constants.ApplicationCommandOptionTypes.STRING},
{name:'announcement_channel',description:'Sets the channel for reminders',type:Constants.ApplicationCommandOptionTypes.CHANNEL},
{name:'add_mod_role',description:'Make a role into an admin role for Selmer Bot, able to execute ALL Selmer Bot commands',type:Constants.ApplicationCommandOptionTypes.ROLE},
{name:'remove_mod_role',description:'Remove a Selmer Bot moderation role',type:Constants.ApplicationCommandOptionTypes.ROLE}