mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 18:58:27 -04:00
Switch to discord.net 3.0.0
This commit is contained in:
@@ -274,7 +274,7 @@ public class Help : NadekoModule<HelpService>
|
||||
if (com is null)
|
||||
{
|
||||
var ch = channel is ITextChannel
|
||||
? await ((IGuildUser)ctx.User).GetOrCreateDMChannelAsync().ConfigureAwait(false)
|
||||
? await ctx.User.CreateDMChannelAsync().ConfigureAwait(false)
|
||||
: channel;
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user