aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/dm.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/dm.ts')
-rw-r--r--src/commands/dev/dm.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/dm.ts b/src/commands/dev/dm.ts
index f1e2bce..c1340b1 100644
--- a/src/commands/dev/dm.ts
+++ b/src/commands/dev/dm.ts
@@ -41,7 +41,7 @@ export default class DMCommand extends BushCommand {
args: { user: ArgType<'user'>; content: ArgType<'string'> }
) {
try {
- await client.users.send(args.user.id, args.content);
+ await this.client.users.send(args.user.id, args.content);
} catch (e) {
return message.util.reply(`${emojis.error} There was an error sending ${format.input(args.user.tag)} a dm.`);
}