17 lines
492 B
C#
17 lines
492 B
C#
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}");
|
|
}
|
|
}
|
|
} |