Update SelfCommands.cs
This commit is contained in:
parent
c1de7dd02b
commit
2574ad72ca
@ -31,13 +31,13 @@ namespace NadekoBot.Modules.Administration
|
||||
|
||||
if (server == null)
|
||||
{
|
||||
await channel.SendMessageAsync("Cannot find that server").ConfigureAwait(false);
|
||||
await channel.SendMessageAsync("⚠️ Cannot find that server").ConfigureAwait(false);
|
||||
return;
|
||||
}
|
||||
if (server.OwnerId != _client.GetCurrentUser().Id)
|
||||
{
|
||||
await server.LeaveAsync().ConfigureAwait(false);
|
||||
await channel.SendMessageAsync("Left server " + server.Name).ConfigureAwait(false);
|
||||
await channel.SendMessageAsync("✅ Left server " + server.Name).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user