mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Move command functions around
This commit is contained in:
parent
a60be64551
commit
125ea81ec3
20 changed files with 950 additions and 807 deletions
|
|
@ -35,16 +35,23 @@ namespace PluralKit.Bot
|
|||
|
||||
// Commands
|
||||
builder.RegisterType<CommandTree>().AsSelf();
|
||||
builder.RegisterType<SystemCommands>().AsSelf();
|
||||
builder.RegisterType<MemberCommands>().AsSelf();
|
||||
builder.RegisterType<SwitchCommands>().AsSelf();
|
||||
builder.RegisterType<LinkCommands>().AsSelf();
|
||||
builder.RegisterType<APICommands>().AsSelf();
|
||||
builder.RegisterType<ImportExportCommands>().AsSelf();
|
||||
builder.RegisterType<HelpCommands>().AsSelf();
|
||||
builder.RegisterType<ModCommands>().AsSelf();
|
||||
builder.RegisterType<MiscCommands>().AsSelf();
|
||||
builder.RegisterType<AutoproxyCommands>().AsSelf();
|
||||
builder.RegisterType<Autoproxy>().AsSelf();
|
||||
builder.RegisterType<Fun>().AsSelf();
|
||||
builder.RegisterType<Help>().AsSelf();
|
||||
builder.RegisterType<ImportExport>().AsSelf();
|
||||
builder.RegisterType<Member>().AsSelf();
|
||||
builder.RegisterType<MemberAvatar>().AsSelf();
|
||||
builder.RegisterType<MemberEdit>().AsSelf();
|
||||
builder.RegisterType<MemberProxy>().AsSelf();
|
||||
builder.RegisterType<Misc>().AsSelf();
|
||||
builder.RegisterType<ServerConfig>().AsSelf();
|
||||
builder.RegisterType<Switch>().AsSelf();
|
||||
builder.RegisterType<Commands.System>().AsSelf();
|
||||
builder.RegisterType<SystemEdit>().AsSelf();
|
||||
builder.RegisterType<SystemFront>().AsSelf();
|
||||
builder.RegisterType<SystemLink>().AsSelf();
|
||||
builder.RegisterType<SystemList>().AsSelf();
|
||||
builder.RegisterType<Token>().AsSelf();
|
||||
|
||||
// Bot core
|
||||
builder.RegisterType<Bot>().AsSelf().SingleInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue