Holy Big Commit!

This commit is contained in:
2026-03-15 05:44:32 +00:00
parent ab9c7223ca
commit eb06fc8102
27 changed files with 672 additions and 65 deletions

View File

@@ -0,0 +1,29 @@
using System.Collections.Concurrent;
using SkyBot.Models;
using Valour.Sdk.Models;
namespace SkyBot.Commands
{
public class Suggest : ICommand
{
public string Name => "suggest";
public string[] Aliases => [];
public string Description => "Shows the source code for this bot.";
public string Section => "Info";
public string Usage => "source";
public async Task Execute(CommandContext ctx)
{
ConcurrentDictionary<long, Channel> channelCache = ctx.ChannelCache;
long channelId = ctx.ChannelId;
PlanetMember member = ctx.Member;
string message = $"You can suggest a command to be added here: https://docs.google.com/spreadsheets/d/1CzcpLAuMiPL_RODrZ5x25cPj8yE-rR3mEnqrd_2Fbmk";
if (channelCache.TryGetValue(channelId, out var channel))
{
await MessageHelper.ReplyAsync(ctx, channel, message);
}
}
}
}