diff --git a/src/commands/cloudflare.ts b/src/commands/cloudflare.ts index 9be5417..6f0c7ce 100644 --- a/src/commands/cloudflare.ts +++ b/src/commands/cloudflare.ts @@ -17,6 +17,7 @@ export default class Cloudflare extends Command { public async run(message: Message, args: string[]) { try { + if (!args.length) return this.client.commands.get('help').run(message, ['cloudflare']); const msg = await message.channel.createMessage(`${this.client.stores.emojis.loading} ***Locating entry...***`); const { data } = await axios({ method: 'get', diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index 33d009f..5855157 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -95,7 +95,7 @@ export default class CWG_Create extends Command { .setTimestamp(new Date(message.timestamp)); const completed = [ - edit.edit(`***${this.client.stores.emojis.success} Successfully binded ${domain.domain} to port ${domain.port} for ${account.userID}.***`), + edit.edit(`***${this.client.stores.emojis.success} Successfully binded ${domain.domain} to port ${domain.port} for ${account.username}.***`), this.client.createMessage('580950455581147146', { embed }), this.client.getDMChannel(account.userID).then((r) => r.createMessage({ embed })), this.client.util.transport.sendMail({