Skip to content

Commit

Permalink
chore: update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Sep 4, 2024
1 parent 3e4c9fc commit 5768f95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export class SlashCommand<T = any> {

/**
* Get a string that mentions the user. Retuens null if the ID is not collected.
* @param guild The guild to fetch the ID from.
*/
getMention(guild?: string) {
const id = this.ids.get(guild || 'global');
Expand Down

0 comments on commit 5768f95

Please sign in to comment.