1
0
Fork 0

help text fixes for systemd linger cmd

refactor/models
Matthew 2020-06-28 22:25:17 -04:00
parent 2991ffb455
commit 4be5279c8f
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export default class SystemdD_Linger extends Command {
public async run(message: Message, args: string[]) {
try {
if (!args[0]) return this.client.commands.get('help').run(message, [this.name]);
if (!args[0]) return this.client.commands.get('help').run(message, ['systemd', this.name]);
const account = await this.client.db.Account.findOne({ userID: message.author.id }).lean().exec();
if (!account) return this.error(message.channel, 'You do not have a Cloud Services account.');
switch (args[0]) {