mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 07:35:02 +00:00
Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins.
This commit is contained in:
parent
22c515be38
commit
2e30a3b9e7
14 changed files with 674 additions and 332 deletions
10
src/plugins/ZeppelinPlugin.ts
Normal file
10
src/plugins/ZeppelinPlugin.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { Plugin } from "knub";
|
||||
import { PluginRuntimeError } from "../PluginRuntimeError";
|
||||
import { TextableChannel } from "eris";
|
||||
import { errorMessage, successMessage } from "../utils";
|
||||
|
||||
export class ZeppelinPlugin extends Plugin {
|
||||
protected throwPluginRuntimeError(message: string) {
|
||||
throw new PluginRuntimeError(message, this.pluginName, this.guildId);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue