(inter: SlashInteraction)
| 71 | // ==================================================================== |
| 72 | |
| 73 | static async help_general(inter: SlashInteraction) { |
| 74 | await inter.respond({ |
| 75 | embeds: [ |
| 76 | new EmbedBuilder() |
| 77 | .setTitle("General Help") |
| 78 | .setColor(Color.Indigo) |
| 79 | .setDescription( |
| 80 | "Hello there, I'm Queue Bot! I provide live user queues.\n" + |
| 81 | "Here are the commands available to everyone. " + |
| 82 | "Some commands have required and optional arguments, so be sure to read them! " + |
| 83 | "Options can be selected by typing and hitting tab will auto-complete. ", |
| 84 | ) |
| 85 | .addFields({ |
| 86 | name: commandMention("help"), |
| 87 | value: "Get helpful info", |
| 88 | }, |
| 89 | { |
| 90 | name: commandMention("join"), |
| 91 | value: "Join queues", |
| 92 | }, |
| 93 | { |
| 94 | name: commandMention("leave"), |
| 95 | value: "Leave queues", |
| 96 | }, |
| 97 | { |
| 98 | name: commandMention("positions"), |
| 99 | value: "Get your positions in all queues", |
| 100 | }, |
| 101 | { |
| 102 | name: commandMention("show"), |
| 103 | value: "Show queue(s)", |
| 104 | }), |
| 105 | ], |
| 106 | }); |
| 107 | } |
| 108 | |
| 109 | // ==================================================================== |
| 110 | // /help admin |
nothing calls this directly
no test coverage detected