mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Using pattern matching for nulls where applicable, discarded unused lambda parameters, cleaned up some classes. Unignored ServerLog commands which was mistakenly ignored due to a .gitignore rule
This commit is contained in:
@@ -123,7 +123,7 @@ namespace Ayu.Discord.Gateway
|
||||
|
||||
public async Task<bool> CloseAsync(string msg = "Stop")
|
||||
{
|
||||
if (_ws != null && _ws.State != WebSocketState.Closed)
|
||||
if (_ws is not null && _ws.State != WebSocketState.Closed)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user