Skip to content

Commit

Permalink
Stop registering wiki aliases as slash commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Nov 9, 2024
1 parent fa9e0c9 commit 299f686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/wiki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ export default class Wiki extends BotComponent {
const article = this.articles[article_name];
this.add_command(
new TextBasedCommandBuilder(alias, EarlyReplyMode.none)
.set_slash(false)
.set_description(article.title)
.add_user_option({
title: "user",
Expand Down

0 comments on commit 299f686

Please sign in to comment.