mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 13:54:36 +00:00
Remove unnecessary lines
This commit is contained in:
parent
8f84b09b21
commit
a87426a5f6
1 changed files with 0 additions and 2 deletions
|
@ -6,7 +6,6 @@ using Discord.Webhook;
|
|||
using Discord.WebSocket;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using static BirthdayBot.UserInterface.CommandsCommon;
|
||||
|
||||
|
@ -113,7 +112,6 @@ namespace BirthdayBot
|
|||
if (csplit.Length > 0 && csplit[0].StartsWith(CommandPrefix, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
// Determine if it's something we're listening for.
|
||||
// Doing this first before the block check because a block check triggers a database query.
|
||||
if (!_dispatchCommands.TryGetValue(csplit[0].Substring(CommandPrefix.Length), out CommandHandler command)) return;
|
||||
|
||||
// Load guild information here
|
||||
|
|
Loading…
Reference in a new issue