mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-13 13:25:03 +00:00
Add post plugin for posting messages as the bot
This commit is contained in:
parent
737a436e67
commit
b7f06c18d4
2 changed files with 62 additions and 1 deletions
|
@ -17,6 +17,7 @@ import { BotControlPlugin } from "./plugins/BotControl";
|
|||
import { ModActionsPlugin } from "./plugins/ModActions";
|
||||
import { UtilityPlugin } from "./plugins/Utility";
|
||||
import { LogsPlugin } from "./plugins/Logs";
|
||||
import { PostPlugin } from "./plugins/Post";
|
||||
import knex from "./knex";
|
||||
|
||||
// Run latest database migrations
|
||||
|
@ -28,7 +29,8 @@ knex.migrate.latest().then(() => {
|
|||
plugins: {
|
||||
utility: UtilityPlugin,
|
||||
mod_actions: ModActionsPlugin,
|
||||
logs: LogsPlugin
|
||||
logs: LogsPlugin,
|
||||
post: PostPlugin
|
||||
},
|
||||
globalPlugins: {
|
||||
bot_control: BotControlPlugin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue