mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: username suggestions
This commit is contained in:
1 parent
613527e78f
commit
692f4d2b80
13 files changed
+167
-102
No files matched your search
@@ -1,8 +1,9 @@
|
||||
import { SlashCommandStringOption } from 'discord.js';
|
||||
|
||||
export default function addIGNOption(option: SlashCommandStringOption) {
|
||||
export default function addUsernameOption(option: SlashCommandStringOption) {
|
||||
return option
|
||||
.setName('name')
|
||||
.setName('username')
|
||||
.setDescription('The username you use in Blitz')
|
||||
.setAutocomplete(true)
|
||||
.setRequired(true);
|
||||
}
|
||||
Reference in new issue
Block a user