aboutsummaryrefslogtreecommitdiff
path: root/src/commands/leveling/level.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-01 22:19:41 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-01 22:19:41 -0400
commit560ed31860a420dcc43571d2e12dd2f51bcee7a8 (patch)
tree855e0cb50c550bbff63ab675e1102b7608573668 /src/commands/leveling/level.ts
parent855aa36c46e250fd3063eb200d784903a8c388d3 (diff)
downloadtanzanite-560ed31860a420dcc43571d2e12dd2f51bcee7a8.tar.gz
tanzanite-560ed31860a420dcc43571d2e12dd2f51bcee7a8.tar.bz2
tanzanite-560ed31860a420dcc43571d2e12dd2f51bcee7a8.zip
cleanup
Diffstat (limited to 'src/commands/leveling/level.ts')
-rw-r--r--src/commands/leveling/level.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands/leveling/level.ts b/src/commands/leveling/level.ts
index f22ed8d..223a590 100644
--- a/src/commands/leveling/level.ts
+++ b/src/commands/leveling/level.ts
@@ -35,6 +35,7 @@ export default class LevelCommand extends BushCommand {
}
}
],
+ slash: true,
slashOptions: [
{
name: 'user',
@@ -43,8 +44,9 @@ export default class LevelCommand extends BushCommand {
required: false
}
],
- slash: true,
- channel: 'guild'
+ channel: 'guild',
+ clientPermissions: ['SEND_MESSAGES'],
+ userPermissions: ['SEND_MESSAGES']
});
}