mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -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:
@@ -700,7 +700,7 @@ public partial class Searches : NadekoModule<SearchesService>
|
||||
{
|
||||
}
|
||||
|
||||
if (obj.Error != null || obj.Verses is null || obj.Verses.Length == 0)
|
||||
if (obj.Error is not null || obj.Verses is null || obj.Verses.Length == 0)
|
||||
{
|
||||
await SendErrorAsync(obj.Error ?? "No verse found.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user