mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02: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);
|
|
}
|