aboutsummaryrefslogtreecommitdiff
path: root/src/commands/leveling
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-30 19:12:48 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-30 19:12:48 -0400
commitaa4cb7e51823f7a2c884c17a8d1010217cce301b (patch)
treebffc7261296f4ee6d164efd18713c0ec5b1dd104 /src/commands/leveling
parent0ecad260c69fffa751fb5d245e0e4f804191970b (diff)
downloadtanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.tar.gz
tanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.tar.bz2
tanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.zip
convert multiword commands to use '-' as a word separator
Diffstat (limited to 'src/commands/leveling')
-rw-r--r--src/commands/leveling/setLevel.ts8
-rw-r--r--src/commands/leveling/setXp.ts6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/commands/leveling/setLevel.ts b/src/commands/leveling/setLevel.ts
index 1869773..b98b488 100644
--- a/src/commands/leveling/setLevel.ts
+++ b/src/commands/leveling/setLevel.ts
@@ -3,13 +3,13 @@ import { User } from 'discord.js';
export default class SetLevelCommand extends BushCommand {
public constructor() {
- super('setlevel', {
- aliases: ['setlevel'],
+ super('setLevel', {
+ aliases: ['set-level'],
category: 'leveling',
description: {
content: 'Sets the level of a user',
- usage: 'setlevel <user> <level>',
- examples: ['setlevel @Moulberry 69'] //nice
+ usage: 'set-level <user> <level>',
+ examples: ['set-level @Moulberry 69'] //nice
},
args: [
{
diff --git a/src/commands/leveling/setXp.ts b/src/commands/leveling/setXp.ts
index 8be3a10..3e00ea2 100644
--- a/src/commands/leveling/setXp.ts
+++ b/src/commands/leveling/setXp.ts
@@ -4,12 +4,12 @@ import { User } from 'discord.js';
export default class SetXpCommand extends BushCommand {
public constructor() {
super('setXp', {
- aliases: ['setxp'],
+ aliases: ['set-xp'],
category: 'leveling',
description: {
content: 'Sets the xp of a user',
- usage: 'setlevel <user> <xp>',
- examples: ['setlevel @Moulberry 69k'] //nice
+ usage: 'set-xp <user> <xp>',
+ examples: ['set-xp @Moulberry 69k'] //nice
},
args: [
{