Skip to content

Commit 7d777e3

Browse files
authored
feat: reregister-command (#7)
* feat: reregister-command * Create three-berries-impress.md * feat: use register-slash command instead
1 parent acede32 commit 7d777e3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@softnetics/what-is-dis": minor
3+
---
4+
5+
Add reregister command to bot

packages/what-is-dis/src/bot/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export class DiscordBot {
122122
}
123123
}
124124

125-
private async registerSlashCommands() {
125+
async registerSlashCommands() {
126126
const commands: RESTPostAPIChatInputApplicationCommandsJSONBody[] =
127127
this.slashCommandCollection.map((command) => command.data)
128128

0 commit comments

Comments
 (0)