Splitting up, doesn't work

This commit is contained in:
2025-11-23 16:55:44 +01:00
parent d2da0069ec
commit 56fae83f03
11 changed files with 225 additions and 197 deletions

View File

@@ -0,0 +1,7 @@
namespace FluxPose.DiscordBot
{
public abstract class ActionsBase<TContext>(TContext context) where TContext : IInteractionContext
{
public ulong GuildId => context.Interaction.Guild?.Id ?? throw new InvalidOperationException("Action cannot be performed outside of a server.");
}
}