Skip to content

Commit 5026df3

Browse files
Fix NRE when setting a reminder in DMs with private:true
1 parent a0828b1 commit 5026df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Commands/ReminderCommands.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ await ctx.FollowupAsync(
8888
// the bot throw an error (not shown to the them), leaving them wondering where their reminder is.
8989
try
9090
{
91-
await ctx.Member.SendMessageAsync(
91+
await ctx.User.SendMessageAsync(
9292
$"Hi! This is a confirmation for your reminder, \"{text}\", due for <t:{unixTime}:F> (<t:{unixTime}:R>)!");
9393
}
9494
catch

0 commit comments

Comments
 (0)