chore: prettier

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-02-17 00:34:11 +01:00
parent 1fd04bf5d5
commit 21390fed8a
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
3 changed files with 25 additions and 15 deletions

View file

@ -49,9 +49,15 @@ export const reuploadCommands = async () => {
.setDefaultMemberPermissions(PermissionFlagsBits.ModerateMembers)
.setDMPermission(false),
new SlashCommandBuilder().setName('joke').setDescription("it's a joke"),
new SlashCommandBuilder().setName('rory').setDescription("Gets a Rory photo!")
new SlashCommandBuilder()
.setName('rory')
.setDescription('Gets a Rory photo!')
.addStringOption((option) =>
option.setName("id").setDescription("specify a Rory ID").setRequired(false)),
option
.setName('id')
.setDescription('specify a Rory ID')
.setRequired(false)
),
].map((command) => command.toJSON());
const rest = new REST({ version: '10' }).setToken(process.env.DISCORD_TOKEN!);