Convert !clean

This commit is contained in:
Dragory 2020-07-06 02:56:54 +03:00
parent 302987cb17
commit c1d91b2864
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
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>) {