From 71a3539d0e3f64a98b79fd58cdfc667b13c61fd5 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 10 Oct 2022 18:39:49 +0200 Subject: [PATCH] Possible fix for Remind .timely button --- src/NadekoBot/Modules/Gambling/Gambling.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Gambling/Gambling.cs b/src/NadekoBot/Modules/Gambling/Gambling.cs index 5dd97994c..f6d0773db 100644 --- a/src/NadekoBot/Modules/Gambling/Gambling.cs +++ b/src/NadekoBot/Modules/Gambling/Gambling.cs @@ -138,7 +138,7 @@ public partial class Gambling : GamblingModule await _remind.AddReminderAsync(ctx.User.Id, ctx.User.Id, - ctx.Guild.Id, + ctx.Guild?.Id, true, when, GetText(strs.timely_time));