Merge branch 'master' into image-api-logic
This commit is contained in:
commit
2644ce2d4a
9 changed files with 94 additions and 13 deletions
|
@ -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";
|
||||
|
|
10
commands/image-editing/zamn.js
Normal file
10
commands/image-editing/zamn.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import ImageCommand from "../../classes/imageCommand.js";
|
||||
|
||||
class ZamnCommand extends ImageCommand {
|
||||
static description = "Adds a \"ZAMN\" reaction to an image";
|
||||
|
||||
static noImage = "You need to provide an image to \"ZAMN\" at!";
|
||||
static command = "zamn";
|
||||
}
|
||||
|
||||
export default ZamnCommand;
|
Loading…
Add table
Add a link
Reference in a new issue