1
0
Fork 0

Bug fixes

refactor/models
Bsian 2020-03-30 16:48:59 +01:00
parent f96b35f20e
commit e3d6c108d7
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
2 changed files with 2 additions and 1 deletions

View File

@ -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',

View File

@ -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({