2023-05-02 23:01:54 +00:00
|
|
|
import { SlashCommandStringOption } from 'discord.js';
|
|
|
|
|
|
2023-05-14 17:13:42 +00:00
|
|
|
export default function addUsernameOption(option: SlashCommandStringOption) {
|
2023-05-02 23:01:54 +00:00
|
|
|
return option
|
2023-05-14 17:13:42 +00:00
|
|
|
.setName('username')
|
2023-05-02 23:01:54 +00:00
|
|
|
.setDescription('The username you use in Blitz')
|
2023-06-03 18:05:09 +00:00
|
|
|
.setAutocomplete(true);
|
2023-05-02 23:01:54 +00:00
|
|
|
}
|