mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
feat(bot): add new guild settings command
This commit is contained in:
parent
f0436332c0
commit
0473bd8f01
15 changed files with 179 additions and 15 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue