From c02a7572b3152beb4b9af32aca3ef9149b8c2d3d Mon Sep 17 00:00:00 2001 From: Ske <voltasalt@gmail.com> Date: Sun, 21 Mar 2021 16:03:42 +0100 Subject: [PATCH] i am good at programming --- Myriad/Cache/DiscordCacheExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Myriad/Cache/DiscordCacheExtensions.cs b/Myriad/Cache/DiscordCacheExtensions.cs index 5c3e26d6..03fbc9b4 100644 --- a/Myriad/Cache/DiscordCacheExtensions.cs +++ b/Myriad/Cache/DiscordCacheExtensions.cs @@ -68,7 +68,7 @@ namespace Myriad.Cache { // DM messages don't get Channel Create events first, so we need to save // some kind of stub channel object until we get the real one - return guildId == null ? default : cache.SaveDmChannelStub(channelId); + return guildId != null ? default : cache.SaveDmChannelStub(channelId); } } } \ No newline at end of file