2019-05-25 14:40:00 +03:00
|
|
|
import { MessageSaverPlugin } from "./MessageSaver";
|
|
|
|
import { NameHistoryPlugin } from "./NameHistory";
|
|
|
|
import { CasesPlugin } from "./Cases";
|
|
|
|
import { MutesPlugin } from "./Mutes";
|
|
|
|
import { UtilityPlugin } from "./Utility";
|
|
|
|
import { ModActionsPlugin } from "./ModActions";
|
|
|
|
import { LogsPlugin } from "./Logs";
|
|
|
|
import { PostPlugin } from "./Post";
|
|
|
|
import { ReactionRolesPlugin } from "./ReactionRoles";
|
|
|
|
import { CensorPlugin } from "./Censor";
|
|
|
|
import { PersistPlugin } from "./Persist";
|
|
|
|
import { SpamPlugin } from "./Spam";
|
|
|
|
import { TagsPlugin } from "./Tags";
|
|
|
|
import { SlowmodePlugin } from "./Slowmode";
|
|
|
|
import { StarboardPlugin } from "./Starboard";
|
|
|
|
import { AutoReactionsPlugin } from "./AutoReactionsPlugin";
|
|
|
|
import { PingableRolesPlugin } from "./PingableRolesPlugin";
|
|
|
|
import { SelfGrantableRolesPlugin } from "./SelfGrantableRolesPlugin";
|
|
|
|
import { RemindersPlugin } from "./Reminders";
|
|
|
|
import { WelcomeMessagePlugin } from "./WelcomeMessage";
|
|
|
|
import { BotControlPlugin } from "./BotControl";
|
|
|
|
import { UsernameSaver } from "./UsernameSaver";
|
2019-06-22 18:50:43 +03:00
|
|
|
import { CustomEventsPlugin } from "./CustomEvents";
|
2019-06-23 19:18:41 +03:00
|
|
|
import { GuildInfoSaverPlugin } from "./GuildInfoSaver";
|
2019-05-26 04:00:59 +02:00
|
|
|
import { CompanionChannelPlugin } from "./CompanionChannels";
|
2019-06-26 01:04:11 +02:00
|
|
|
import { LocatePlugin } from "./LocateUser";
|
2019-07-22 00:09:45 +03:00
|
|
|
import { GuildConfigReloader } from "./GuildConfigReloader";
|
2019-08-10 00:13:55 +03:00
|
|
|
import { ChannelArchiverPlugin } from "./ChannelArchiver";
|
2019-10-05 14:46:00 +03:00
|
|
|
import { AutomodPlugin } from "./Automod";
|
2020-01-12 11:47:54 +02:00
|
|
|
import { RolesPlugin } from "./Roles";
|
2019-05-25 14:40:00 +03:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Plugins available to be loaded for individual guilds
|
|
|
|
*/
|
|
|
|
export const availablePlugins = [
|
2019-10-05 14:46:00 +03:00
|
|
|
AutomodPlugin,
|
2019-05-25 14:40:00 +03:00
|
|
|
MessageSaverPlugin,
|
|
|
|
NameHistoryPlugin,
|
|
|
|
CasesPlugin,
|
|
|
|
MutesPlugin,
|
|
|
|
UtilityPlugin,
|
|
|
|
ModActionsPlugin,
|
|
|
|
LogsPlugin,
|
|
|
|
PostPlugin,
|
|
|
|
ReactionRolesPlugin,
|
|
|
|
CensorPlugin,
|
|
|
|
PersistPlugin,
|
|
|
|
SpamPlugin,
|
|
|
|
TagsPlugin,
|
|
|
|
SlowmodePlugin,
|
|
|
|
StarboardPlugin,
|
|
|
|
AutoReactionsPlugin,
|
|
|
|
PingableRolesPlugin,
|
|
|
|
SelfGrantableRolesPlugin,
|
|
|
|
RemindersPlugin,
|
|
|
|
WelcomeMessagePlugin,
|
2019-06-22 18:50:43 +03:00
|
|
|
CustomEventsPlugin,
|
2019-06-23 19:18:41 +03:00
|
|
|
GuildInfoSaverPlugin,
|
2019-05-26 04:00:59 +02:00
|
|
|
CompanionChannelPlugin,
|
2019-06-26 01:04:11 +02:00
|
|
|
LocatePlugin,
|
2019-08-10 00:13:55 +03:00
|
|
|
ChannelArchiverPlugin,
|
2020-01-09 00:23:41 +11:00
|
|
|
RolesPlugin,
|
2019-05-25 14:40:00 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Plugins that are always loaded (subset of the names of the plugins in availablePlugins)
|
|
|
|
*/
|
|
|
|
export const basePlugins = [
|
2019-06-23 19:18:41 +03:00
|
|
|
GuildInfoSaverPlugin.pluginName,
|
2019-05-25 14:40:00 +03:00
|
|
|
MessageSaverPlugin.pluginName,
|
|
|
|
NameHistoryPlugin.pluginName,
|
|
|
|
CasesPlugin.pluginName,
|
|
|
|
MutesPlugin.pluginName,
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Available global plugins (can't be loaded per-guild, only globally)
|
|
|
|
*/
|
2019-07-22 00:48:26 +03:00
|
|
|
export const availableGlobalPlugins = [BotControlPlugin, UsernameSaver, GuildConfigReloader];
|