aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-03-02 12:38:58 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-03-02 12:38:58 +0100
commite566489af26fc9133a3509251812910e03b90c8c (patch)
tree186a7aac60c64e3466f7a84f6fcf87e811b2486d /main.go
parent443286aabc9d9e433625e0dd99e678754bbc74e5 (diff)
build(gokord): update to latest nightly
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.go b/main.go
index c3410c9..1a66b5a 100644
--- a/main.go
+++ b/main.go
@@ -250,16 +250,16 @@ func setupTimers(ctx context.Context, dg *gokord.Session) {
var statuses = []func(context.Context, bot.Session) error{
func(ctx context.Context, dg bot.Session) error {
- return dg.BotAPI().UpdateGameStatus(ctx, 0, "ĂȘtre dev par @anhgelus")
+ return dg.GatewayAPI().UpdateGameStatus(ctx, false, "ĂȘtre dev par @anhgelus")
},
func(ctx context.Context, dg bot.Session) error {
- return dg.BotAPI().UpdateWatchStatus(ctx, 0, "Les Copaings")
+ return dg.GatewayAPI().UpdateWatchStatus(ctx, false, "Les Copaings")
},
func(ctx context.Context, dg bot.Session) error {
- return dg.BotAPI().UpdateListeningStatus(ctx, "http 418, I'm a tea pot")
+ return dg.GatewayAPI().UpdateListeningStatus(ctx, "http 418, I'm a tea pot")
},
func(ctx context.Context, dg bot.Session) error {
- return dg.BotAPI().UpdateGameStatus(ctx, 0, "Les Copaings Bot v"+Version)
+ return dg.GatewayAPI().UpdateGameStatus(ctx, false, "Les Copaings Bot v"+Version)
},
}