(inter: SlashInteraction)
| 111 | // ==================================================================== |
| 112 | |
| 113 | static async help_admin(inter: SlashInteraction) { |
| 114 | await inter.respond({ |
| 115 | embeds: [ |
| 116 | new EmbedBuilder() |
| 117 | .setTitle("Admin Help") |
| 118 | .setColor(Color.Indigo) |
| 119 | .setDescription( |
| 120 | "Hello there, I'm Queue Bot! I provide live user queues.\n" + |
| 121 | `Here are the commands only available to server admins and users added via ${commandMention("admins", "add")}. ` + |
| 122 | `Some commands have additional subcommands like ${inlineCode("add")} or ${inlineCode("delete")}. `, |
| 123 | ) |
| 124 | .addFields({ |
| 125 | name: commandMention("admins", "get"), |
| 126 | value: "Manage admin users and roles", |
| 127 | }, |
| 128 | { |
| 129 | name: commandMention("blacklist", "get"), |
| 130 | value: "Blacklist a user or role from queues", |
| 131 | }, |
| 132 | { |
| 133 | name: commandMention("clear"), |
| 134 | value: "Clear queues", |
| 135 | }, |
| 136 | { |
| 137 | name: commandMention("displays", "get"), |
| 138 | value: "Manage display channels", |
| 139 | }, |
| 140 | { |
| 141 | name: commandMention("logging", "get"), |
| 142 | value: "Manage logging settings", |
| 143 | }, |
| 144 | { |
| 145 | name: commandMention("members", "get"), |
| 146 | value: "Manage queue members", |
| 147 | }, |
| 148 | { |
| 149 | name: commandMention("move"), |
| 150 | value: "Move a member in queues", |
| 151 | }, |
| 152 | { |
| 153 | name: commandMention("prioritize", "get"), |
| 154 | value: "Manage prioritized users and roles", |
| 155 | }, |
| 156 | { |
| 157 | name: commandMention("pull"), |
| 158 | value: "Pull members from queue(s)", |
| 159 | }, |
| 160 | { |
| 161 | name: commandMention("queues", "get"), |
| 162 | value: "Manage queues", |
| 163 | }, |
| 164 | { |
| 165 | name: commandMention("schedules", "get"), |
| 166 | value: "Manage schedules", |
| 167 | }, |
| 168 | { |
| 169 | name: commandMention("shuffle"), |
| 170 | value: "Shuffle queues", |
nothing calls this directly
no test coverage detected