Initial commit

This commit is contained in:
2026-02-28 21:51:34 +00:00
commit c24818505f
5 changed files with 254 additions and 0 deletions

17
Commands/HelpCommand.cs Normal file
View File

@@ -0,0 +1,17 @@
using Valour.Sdk.Models;
namespace Reactor.Commands;
public static class HelpComamnd
{
public static async Task Execute(Dictionary<long, Channel> channelCache, long channelId, String prefix, string memberPing)
{
string helpMessage = $@"**Reactor Commands**:
- `{prefix}help` - Shows this list.";
if (channelCache.TryGetValue(channelId, out var channel))
{
await channel.SendMessageAsync($"{memberPing}\n{helpMessage}");
}
}
}