summaryrefslogtreecommitdiff
path: root/src/commands/utility
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-15 08:10:26 -0700
committer8cy <[email protected]>2020-04-15 08:10:26 -0700
commit972c2ef86a59f0d90da9c11bcdfc9d7245379186 (patch)
tree69ef94319bae5f44f3438f409cea9a467d53d296 /src/commands/utility
parenton msg also log server name, v5.0.6 (diff)
downloaddep-core-972c2ef86a59f0d90da9c11bcdfc9d7245379186.tar.xz
dep-core-972c2ef86a59f0d90da9c11bcdfc9d7245379186.zip
The Uwulapse, v6.0.0
- add webserver - fix servercount - formatting
Diffstat (limited to 'src/commands/utility')
-rw-r--r--src/commands/utility/servercount.ts (renamed from src/commands/utility/servers.ts)10
-rw-r--r--src/commands/utility/uptime.ts2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/commands/utility/servers.ts b/src/commands/utility/servercount.ts
index 1b3ce0f..7e92247 100644
--- a/src/commands/utility/servers.ts
+++ b/src/commands/utility/servercount.ts
@@ -2,20 +2,20 @@ import { Command } from 'discord.js-commando';
import { MessageEmbed, Message } from 'discord.js';
import emoji from 'emoji-random';
-module.exports = class ServersUtility extends Command {
+module.exports = class ServerCountUtility extends Command {
constructor(client) {
super(client, {
- name: 'servers',
- aliases: ['servercount', 'scount', 'serverc'],
+ name: 'servercount',
+ aliases: ['sc', 'scount', 'serverc'],
group: 'utility',
- memberName: 'servers',
+ memberName: 'servercount',
description: 'Tells you the amount of servers uwufy is in.',
userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
});
}
run(msg: Message) {
- msg.channel.send('Please wait..').then(m => {
+ msg.channel.send('Please wait...').then(m => {
m.edit(`** **`);
let emb = new MessageEmbed()
diff --git a/src/commands/utility/uptime.ts b/src/commands/utility/uptime.ts
index eebd031..1bea003 100644
--- a/src/commands/utility/uptime.ts
+++ b/src/commands/utility/uptime.ts
@@ -27,7 +27,7 @@ export default class UptimeUtility extends Command {
}
run(msg: Message) {
const duration = _duration(this.client.uptime).format(" D [days], H [hrs], m [mins], s [secs]");
- msg.channel.send('Please wait..').then(m => {
+ msg.channel.send('Please wait...').then(m => {
m.edit(`** **`);
let emb = new MessageEmbed()