improved ping embed
This commit is contained in:
@@ -41,8 +41,8 @@ var ping_command Command = Command{
|
|||||||
Data: &discordgo.InteractionResponseData{
|
Data: &discordgo.InteractionResponseData{
|
||||||
Embeds: []*discordgo.MessageEmbed{
|
Embeds: []*discordgo.MessageEmbed{
|
||||||
{
|
{
|
||||||
Title: "Bot ping",
|
Title: s.State.User.Username + " ping",
|
||||||
Description: fmt.Sprintf("**%.2fms**", ping.Seconds()*1000),
|
Description: fmt.Sprintf("# %.2fms", ping.Seconds()*1000),
|
||||||
Type: discordgo.EmbedTypeArticle,
|
Type: discordgo.EmbedTypeArticle,
|
||||||
Color: hexToDecimal(color[ping_color]),
|
Color: hexToDecimal(color[ping_color]),
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user