Tweak zamn, switch Eris to stable, added playing message, fix ping sending multiple messages

This commit is contained in:
Essem 2021-12-02 18:12:42 -06:00
parent 98b812e0d3
commit fbefd0f10a
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
5 changed files with 16 additions and 14 deletions

View file

@ -5,7 +5,7 @@ class PingCommand extends Command {
const pingMessage = await this.client.createMessage(this.message.channel.id, Object.assign({
content: "🏓 Ping?"
}, this.reference));
return pingMessage.edit(`🏓 Pong!\n\`\`\`\nLatency: ${pingMessage.timestamp - this.message.timestamp}ms${this.message.channel.guild ? `\nShard Latency: ${Math.round(this.client.shards.get(this.client.guildShardMap[this.message.channel.guild.id]).latency)}ms` : ""}\n\`\`\``);
pingMessage.edit(`🏓 Pong!\n\`\`\`\nLatency: ${pingMessage.timestamp - this.message.timestamp}ms${this.message.channel.guild ? `\nShard Latency: ${Math.round(this.client.shards.get(this.client.guildShardMap[this.message.channel.guild.id]).latency)}ms` : ""}\n\`\`\``);
}
static description = "Pings Discord's servers";

View file

@ -1,9 +1,9 @@
import ImageCommand from "../../classes/imageCommand.js";
class ZamnCommand extends ImageCommand {
static description = "ZAMN! SHES 12?";
static description = "Adds a \"ZAMN\" reaction to an image";
static noImage = "You need to provide an image to zamn at!";
static noImage = "You need to provide an image to \"ZAMN\" at!";
static command = "zamn";
}