summaryrefslogtreecommitdiff
path: root/server/src/commands
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-24 07:37:15 -0700
committer8cy <[email protected]>2020-07-24 07:37:15 -0700
commit0966fe54ea4298fe7e62b680d26620bc85ccf081 (patch)
tree61265f6d0880c6f2ab5edd9cd8bf8009558678b5 /server/src/commands
parentbig stuffs here (diff)
downloaddep-core-0966fe54ea4298fe7e62b680d26620bc85ccf081.tar.xz
dep-core-0966fe54ea4298fe7e62b680d26620bc85ccf081.zip
clean: clean up some messy shit
Diffstat (limited to 'server/src/commands')
-rw-r--r--server/src/commands/mod/Slowmode.ts8
-rw-r--r--server/src/commands/server/Server.ts2
2 files changed, 5 insertions, 5 deletions
diff --git a/server/src/commands/mod/Slowmode.ts b/server/src/commands/mod/Slowmode.ts
index 3aec2bd..b352007 100644
--- a/server/src/commands/mod/Slowmode.ts
+++ b/server/src/commands/mod/Slowmode.ts
@@ -42,21 +42,21 @@ export default class SlowmodeMod extends Command {
try {
if (amount > 120) {
amount = 120;
- msg.channel.send('Due to Discord API limitations, slow mode can only be a max of **120** seconds or less! Your specified amount has been rounded down to **120** seconds. (This message will automatically be deleted in 3 seconds.)')
- .then(m => m.delete({ timeout: 3000 }));
+ msg.channel.send('Due to Discord API limitations, slow mode can only be a max of **120** seconds or less! Your specified amount has been rounded down to **120** seconds. (This message will automatically be deleted in 10 seconds.)')
+ .then(m => m.delete({ timeout: 10000 }));
}
(msg.channel as TextChannel).setRateLimitPerUser(amount);
if (realtime) {
let time = 60000 * realtime;
- msg.channel.send(`Slowmode has now been set to ${amount} seconds and will end in ${realtime} minutes!`);
+ msg.channel.send(`Slowmode has now been set to **${amount}** seconds and will end in **${realtime}** minutes!`);
setTimeout(() => {
(msg.channel as TextChannel).setRateLimitPerUser(0);
return msg.channel.send('Slowmode has now been disabled!');
}, time);
} else {
if (amount == 0) return msg.channel.send('Slowmode has now been disabled!');
- return msg.channel.send(`Slowmode has now been set to ${amount} seconds!`);
+ return msg.channel.send(`Slowmode has now been set to **${amount}** seconds!`);
}
} catch (err) {
console.error(err);
diff --git a/server/src/commands/server/Server.ts b/server/src/commands/server/Server.ts
index 7caf899..20e023b 100644
--- a/server/src/commands/server/Server.ts
+++ b/server/src/commands/server/Server.ts
@@ -24,7 +24,7 @@ export default class ServerServer extends Command {
const embed = this.client.util.embed()
.setAuthor(`${msg.guild.name} - ${msg.guild.id}`, `${msg.guild.iconURL()}`, `https://discordapp.com/channels/${msg.guild.id}/${msg.guild.id}`)
- .setDescription(`Heres's all the information on \`${msg.guild.name}\``)
+ .setDescription(`Here's all the information on \`${msg.guild.name}\``)
.setThumbnail(`${msg.guild.iconURL()}`)
.addField('Owner', `\`${msg.guild.owner.user.tag}\``)
.addField(`Members [${msg.guild.memberCount}]`, `${online} members are online.`, true)