diff --git a/src/class/AccountUtil.ts b/src/class/AccountUtil.ts index 339f48d..43816e8 100644 --- a/src/class/AccountUtil.ts +++ b/src/class/AccountUtil.ts @@ -55,7 +55,7 @@ export default class AccountUtil {
You can support us on Patreon! Head to our Patreon page and feel free to donate as much or as little as you want!
Donating $5 or more will grant you Tier 3, which means we will manage your account at your request, longer certificates, increased Tier limits as well as some roles in the server!
Your Cloud Account has been deleted by our Engineers. If your account was deleted due to infractions, this will not be appealable. We're sorry to see you go.
+Your Cloud Account has been deleted by a Director. If your account was deleted due to infractions, this will not be appealable. We're sorry to see you go.
Reason: ${reason}
-Engineer: ${message.author.username}
+Director: ${message.author.username}
Library of Code sp-us | Support Team `, }); - return deleting.edit(`${this.client.stores.emojis.success} ***Account ${username} has been deleted by Engineer ${message.author.username}#${message.author.discriminator}***`); + return deleting.edit(`${this.client.stores.emojis.success} ***Account ${username} has been deleted by Director ${message.author.username}#${message.author.discriminator}***`); } catch (error) { return this.client.util.handleError(error, message, this); } diff --git a/src/commands/lock.ts b/src/commands/lock.ts index bf88d6b..17e3740 100644 --- a/src/commands/lock.ts +++ b/src/commands/lock.ts @@ -31,7 +31,7 @@ export default class Lock extends Command { const reason = momentMilliseconds ? args.slice(2).join(' ') : args.slice(1).join(' '); await this.client.util.createModerationLog(account.userID, message.member, 2, reason, momentMilliseconds); - edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been locked by Moderator ${message.author.username}#${message.author.discriminator}.***`); + edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been locked by Technician ${message.author.username}#${message.author.discriminator}.***`); message.delete(); this.client.util.transport.sendMail({ @@ -42,7 +42,7 @@ export default class Lock extends Command {Your Cloud Account has been locked until ${momentMilliseconds ? moment(expiry).calendar() : 'indefinitely'} under the EULA.
Reason: ${momentMilliseconds ? args.slice(2).join(' ') : args.slice(1).join(' ')}
-Supervisor: ${message.author.username}
+Technician: ${message.author.username}
Expiration: ${momentMilliseconds ? moment(expiry).format('dddd, MMMM Do YYYY, h:mm:ss A') : 'N/A'}
Library of Code sp-us | Support Team diff --git a/src/commands/notify.ts b/src/commands/notify.ts index 8fc3583..fcb57df 100644 --- a/src/commands/notify.ts +++ b/src/commands/notify.ts @@ -36,7 +36,7 @@ export default class Notify extends Command { html: `${args.slice(1).join(' ')}
-Moderator: ${message.author.username}
+Technician: ${message.author.username}
Library of Code sp-us | Support Team `, diff --git a/src/commands/sysinfo.ts b/src/commands/sysinfo.ts index 8925cae..6dc5ce9 100644 --- a/src/commands/sysinfo.ts +++ b/src/commands/sysinfo.ts @@ -26,8 +26,8 @@ export default class SysInfo extends Command { embed.addField('CPU', `${os.cpus()[0].model} ${os.cpus()[0].speed / 1000}GHz | ${os.cpus().length} Cores | ${os.arch()}`, true); embed.addField('Load Average (last 15 minutes)', os.loadavg()[2].toFixed(3), true); embed.addField('Memory/RAM', `${usedMemory} / ${dataConversion(totalmem())}`, true); - embed.addField('Network Interfaces (IPv4)', os.networkInterfaces().eth0.filter((r) => r.family === 'IPv4')[0].address, true); - embed.addField('Network Interfaces (IPv6)', os.networkInterfaces().eth0.filter((r) => r.family === 'IPv6')[0].address.replace(/:/gi, '\:'), true); // eslint-disable-line + embed.addField('Network Interfaces (IPv4)', os.networkInterfaces().enp0s3.filter((r) => r.family === 'IPv4')[0].address, true); + embed.addField('Network Interfaces (IPv6)', os.networkInterfaces().enp0s3.filter((r) => r.family === 'IPv6')[0].address.replace(/:/gi, '\:'), true); // eslint-disable-line embed.setFooter(this.client.user.username, this.client.user.avatarURL); embed.setTimestamp(); message.channel.createMessage({ embed }); diff --git a/src/commands/unban.ts b/src/commands/unban.ts index 408e3e0..fca5352 100644 --- a/src/commands/unban.ts +++ b/src/commands/unban.ts @@ -11,7 +11,7 @@ export default class Unban extends Command { this.aliases = ['unbanip']; this.usage = `${this.client.config.prefix}unban [service] [ip]`; this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) { diff --git a/src/commands/unlock.ts b/src/commands/unlock.ts index 81e757a..66cb00f 100644 --- a/src/commands/unlock.ts +++ b/src/commands/unlock.ts @@ -23,7 +23,8 @@ export default class Unlock extends Command { await account.updateOne({ locked: false }); await this.client.util.createModerationLog(account.userID, message.member, 3, args.slice(1).join(' ')); - edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been unlocked by Moderator ${message.author.username}#${message.author.discriminator}.***`); + message.delete(); + edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been unlocked by Technician ${message.author.username}#${message.author.discriminator}.***`); } catch (error) { await this.client.util.handleError(error, message, this); } diff --git a/src/commands/warn.ts b/src/commands/warn.ts index 218307d..1c42332 100644 --- a/src/commands/warn.ts +++ b/src/commands/warn.ts @@ -21,7 +21,7 @@ export default class Warn extends Command { if (account.root) return edit.edit(`***${this.client.stores.emojis.error} Permission denied.***`); await this.client.util.createModerationLog(account.userID, message.member, 1, args.slice(1).join(' ')); message.delete(); - edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been warned by Moderator ${message.author.username}#${message.author.discriminator}.***`); + edit.edit(`***${this.client.stores.emojis.success} Account ${account.username} has been warned by Technician ${message.author.username}#${message.author.discriminator}.***`); return this.client.util.transport.sendMail({ to: account.emailAddress, from: 'Library of Code sp-us | Cloud ServicesYour account has received an official warning from a Moderator. Please get the underlying issue resolved to avoid possible moderative action.
Reason: ${args.slice(1).join(' ') ? args.slice(1).join(' ') : 'Not Specified'}
-Moderator: ${message.author.username}
+Technician: ${message.author.username}
Library of Code sp-us | Support Team `,