forked from engineering/cloudservices
Bug fixes
parent
f96b35f20e
commit
e3d6c108d7
|
@ -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',
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue