feat(bot): add new guild settings command

This commit is contained in:
Iris System 2024-11-10 15:46:36 +13:00
parent f0436332c0
commit 0473bd8f01
15 changed files with 179 additions and 15 deletions

View file

@ -29,11 +29,13 @@ public class Context
private Command? _currentCommand;
public Context(ILifetimeScope provider, int shardId, Guild? guild, Channel channel, MessageCreateEvent message,
int commandParseOffset, PKSystem senderSystem, SystemConfig config)
int commandParseOffset, PKSystem senderSystem, SystemConfig config,
GuildConfig? guildConfig)
{
Message = (Message)message;
ShardId = shardId;
Guild = guild;
GuildConfig = guildConfig;
Channel = channel;
System = senderSystem;
Config = config;
@ -59,6 +61,7 @@ public class Context
public readonly Message Message;
public readonly Guild Guild;
public readonly GuildConfig? GuildConfig;
public readonly int ShardId;
public readonly Cluster Cluster;