added source command to help command

This commit is contained in:
2026-02-28 22:01:12 +00:00
parent 56dd6a6166
commit 940ab3535a

View File

@@ -7,7 +7,9 @@ public static class HelpComamnd
public static async Task Execute(Dictionary<long, Channel> channelCache, long channelId, String prefix, string memberPing) public static async Task Execute(Dictionary<long, Channel> channelCache, long channelId, String prefix, string memberPing)
{ {
string helpMessage = $@"**Reactor Commands**: string helpMessage = $@"**Reactor Commands**:
- `{prefix}help` - Shows this list."; - `{prefix}help` - Shows this list.
- `{prefix}source` - Shows my source code!
";
if (channelCache.TryGetValue(channelId, out var channel)) if (channelCache.TryGetValue(channelId, out var channel))
{ {