diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-03-02 12:38:58 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-03-02 12:38:58 +0100 |
| commit | e566489af26fc9133a3509251812910e03b90c8c (patch) | |
| tree | 186a7aac60c64e3466f7a84f6fcf87e811b2486d /main.go | |
| parent | 443286aabc9d9e433625e0dd99e678754bbc74e5 (diff) | |
build(gokord): update to latest nightly
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) }, } |
