Added player detector implementation
Added computer event listeners
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using Discord.WebSocket;
|
||||
using MinecraftDiscordBot.Models;
|
||||
using MinecraftDiscordBot.Services;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
@ -8,6 +9,7 @@ namespace MinecraftDiscordBot.Commands;
|
||||
public abstract class CommandRouter : ICommandHandler<ResponseType> {
|
||||
public record struct HandlerStruct(HandleCommandDelegate<ResponseType> Delegate, CommandHandlerAttribute Attribute);
|
||||
private readonly Dictionary<string, HandlerStruct> _handlers = new();
|
||||
|
||||
public abstract string HelpTextPrefix { get; }
|
||||
public CommandRouter() {
|
||||
foreach (var method in GetType().GetMethods())
|
||||
|
Reference in New Issue
Block a user