Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js')
- const embed = require('discord-embed-maker');
- module.exports.run = async (bot, message, args) => {
- const useruser = "Příkaz napsal: " + message.author.username;
- const userurl = message.author.avatarURL;
- const lulko = `Bota vytvořil: Jonanek` ;
- let botembed = new Discord.RichEmbed()
- .setColor("#000FF")
- .setDescription(`Načítám...`)
- .setTimestamp()
- message.channel.send(botembed).then(message =>{
- botembed.setColor("#000FF")
- botembed.setDescription(`:ping_pong: Pong! Ping bota k Discord API je **\`${bot.pings[0]}ms\`**`)
- botembed.setFooter(useruser, userurl, lulko)
- botembed.setTimestamp()
- message.edit(botembed)
- })
- }
- module.exports.help = {
- name: "ping"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement