1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-26 11:45:37 -05:00

odd one out

This commit is contained in:
toast-ts 2022-12-03 13:02:53 +11:00
parent f44b17443c
commit ad388e4498

View File

@ -160,7 +160,7 @@ export class TClient extends Client {
if (!client.isStaff(interaction.member as Discord.GuildMember)) return client.youNeedRole(interaction, "dcmod");
const time = interaction.options.getString('time') as string;
const reason = interaction.options.getString('reason') ?? 'Unspecified';
const reason = interaction.options.getString('reason') ?? 'Reason unspecified';
const GuildMember = interaction.options.getMember('member') as Discord.GuildMember;
const User = interaction.options.getUser('member') as Discord.User;