diff options
| -rw-r--r-- | commands/top.go | 2 | ||||
| -rw-r--r-- | main.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/commands/top.go b/commands/top.go index c0f4dae..8320fe9 100644 --- a/commands/top.go +++ b/commands/top.go @@ -9,7 +9,7 @@ import ( ) func Top(s *discordgo.Session, i *discordgo.InteractionCreate) { - xp.LastEventUpdate(s, xp.GetCopaing(i.User.ID, i.GuildID)) + xp.LastEventUpdate(s, xp.GetCopaing(i.Member.User.ID, i.GuildID)) resp := utils.ResponseBuilder{C: s, I: i} err := resp.IsDeferred().Send() if err != nil { @@ -125,7 +125,7 @@ func main() { }, { Type: gokord.GameStatus, - Content: "Dev par @anhgelus", + Content: "dev par @anhgelus", Url: "", }, { |
