diff --git a/dshardmanager.go b/dshardmanager.go index 6cec2e7..0897875 100644 --- a/dshardmanager.go +++ b/dshardmanager.go @@ -328,6 +328,9 @@ func (m *Manager) logEventToDiscord(evt *Event) { Description: prefix + str, Timestamp: evt.Time.Format(time.RFC3339), Color: eventColors[evt.Type], + Footer: &discordgo.MessageEmbedFooter{ + Text: "Time", + }, } _, err := m.bareSession.ChannelMessageSendEmbed(m.LogChannel, embed) @@ -420,6 +423,9 @@ func (m *Manager) updateStatusMessage(mID int64) (int64, error) { Description: content, Color: 0x4286f4, Timestamp: time.Now().Format(time.RFC3339), + Footer: &discordgo.MessageEmbedFooter{ + Text: "Time", + }, } if mID == 0 { diff --git a/example/main.go b/example/main.go index 74db2bb..4029b82 100644 --- a/example/main.go +++ b/example/main.go @@ -31,7 +31,7 @@ func main() { } if !strings.HasPrefix(FlagToken, "Bot ") { - log.Fatal("dshardmanager only works on bot accounts, did you maybe forgot to add `Bot ` before the token?") + log.Fatal("dshardmanager only works on bot accounts, did you forget to add `Bot ` before the token?") } manager := dshardmanager.New(FlagToken) @@ -50,7 +50,7 @@ func main() { log.Println("Starting the shard manager") err = manager.Start() if err != nil { - log.Fatal("Faled to start: ", err) + log.Fatal("Failed to start: ", err) } log.Println("Started!")