3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 00:05:04 +00:00

Convert !clean

This commit is contained in:
Dragory 2020-07-06 02:56:54 +03:00
parent f791a851ca
commit 1519b425eb
3 changed files with 146 additions and 2 deletions

View file

@ -54,12 +54,12 @@ export function pluginConfigPreprocessor(
export function sendSuccessMessage(pluginData: PluginData<any>, channel, body) {
const emoji = pluginData.guildConfig.success_emoji || undefined;
channel.createMessage(successMessage(body, emoji));
return channel.createMessage(successMessage(body, emoji));
}
export function sendErrorMessage(pluginData: PluginData<any>, channel, body) {
const emoji = pluginData.guildConfig.error_emoji || undefined;
channel.createMessage(errorMessage(body, emoji));
return channel.createMessage(errorMessage(body, emoji));
}
export function getBaseUrl(pluginData: PluginData<any>) {