Update CommandStaffJoinDate descriptions
Improved the descriptions of the options for the CommandStaffJoinDate command. The "staff" and "join-time" options now have clearer descriptions, making their purposes more understandable for users.
This commit is contained in:
parent
1f706b69b8
commit
cd356121b7
|
|
@ -8,7 +8,6 @@ import com.alttd.util.Util;
|
|||
import net.dv8tion.jda.api.EmbedBuilder;
|
||||
import net.dv8tion.jda.api.JDA;
|
||||
import net.dv8tion.jda.api.Permission;
|
||||
import net.dv8tion.jda.api.entities.IMentionable;
|
||||
import net.dv8tion.jda.api.entities.Member;
|
||||
import net.dv8tion.jda.api.entities.MessageEmbed;
|
||||
import net.dv8tion.jda.api.events.interaction.command.CommandAutoCompleteInteractionEvent;
|
||||
|
|
@ -31,8 +30,8 @@ public class CommandStaffJoinDate extends DiscordCommand {
|
|||
|
||||
public CommandStaffJoinDate(JDA jda, CommandManager commandManager) {
|
||||
this.commandData = Commands.slash(getName(), "View join date for staff members, or add them manually")
|
||||
.addOption(OptionType.MENTIONABLE, "staff", "Set the soft lock \"on\" or \"off\"", false, false)
|
||||
.addOption(OptionType.NUMBER, "join-time", "Channel to change soft lock state for", false, false)
|
||||
.addOption(OptionType.MENTIONABLE, "staff", "The staff member to set/check the join date for", false, false)
|
||||
.addOption(OptionType.NUMBER, "join-time", "The join date to set", false, false)
|
||||
.setDefaultPermissions(DefaultMemberPermissions.enabledFor(Permission.ADMINISTRATOR))
|
||||
.setGuildOnly(true);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user