mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-12-22 12:11:06 +01:00
register command and dont log tags
This commit is contained in:
parent
beecd9a7a6
commit
38acccfa2b
3 changed files with 8 additions and 9 deletions
|
@ -7,12 +7,12 @@ defineCommand({
|
|||
name: "docs",
|
||||
options: [
|
||||
{
|
||||
...new SlashCommandStringOption()
|
||||
.setName("query")
|
||||
.setRequired(true)
|
||||
.setAutocomplete(true)
|
||||
.setDescription("Select query")
|
||||
.toJSON(),
|
||||
...new SlashCommandStringOption()
|
||||
.setName("query")
|
||||
.setRequired(true)
|
||||
.setAutocomplete(true)
|
||||
.setDescription("Select query")
|
||||
.toJSON(),
|
||||
run: (_: Option, context: AutocompleteContext) => {
|
||||
return context.interaction.respond([{ name: "heh", value: "heh" }]);
|
||||
}
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
import "./version.ts"
|
||||
import "./version.ts";
|
||||
import "./docs.ts";
|
||||
|
|
|
@ -18,5 +18,3 @@ for (const tag of tags) {
|
|||
answer: frontMatter.content
|
||||
});
|
||||
}
|
||||
|
||||
console.log(TAGS);
|
||||
|
|
Loading…
Reference in a new issue