mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-13 02:38:27 -04:00
Switch to discord.net 3.0.0
This commit is contained in:
@@ -253,7 +253,7 @@ public partial class Administration
|
||||
{
|
||||
user = user ?? (IGuildUser) ctx.User;
|
||||
|
||||
var channel = await user.GetOrCreateDMChannelAsync();
|
||||
var channel = await user.CreateDMChannelAsync();
|
||||
var success = await _service.GreetDmTest(channel, user);
|
||||
if (success)
|
||||
await ctx.OkAsync();
|
||||
|
Reference in New Issue
Block a user