mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
odd one out
This commit is contained in:
parent
920828c3e6
commit
1c3b014bd2
@ -160,7 +160,7 @@ export class TClient extends Client {
|
|||||||
if (!client.isStaff(interaction.member as Discord.GuildMember)) return client.youNeedRole(interaction, "dcmod");
|
if (!client.isStaff(interaction.member as Discord.GuildMember)) return client.youNeedRole(interaction, "dcmod");
|
||||||
|
|
||||||
const time = interaction.options.getString('time') as string;
|
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 GuildMember = interaction.options.getMember('member') as Discord.GuildMember;
|
||||||
const User = interaction.options.getUser('member') as Discord.User;
|
const User = interaction.options.getUser('member') as Discord.User;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user