mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
odd one out
This commit is contained in:
parent
f44b17443c
commit
ad388e4498
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user