mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-14 05:06:11 +01:00
11 lines
316 B
TypeScript
11 lines
316 B
TypeScript
import { SlashCommandStringOption } from 'discord.js';
|
|
|
|
export default function addUsernameChoices(option: SlashCommandStringOption) {
|
|
return option
|
|
.setName('username')
|
|
.setDescription(
|
|
'The username you use in Blitz (inferred from Discord nickname by default)',
|
|
)
|
|
.setAutocomplete(true);
|
|
}
|