mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-05 18:27:18 +00:00
fix: error in getSuccessEmoji/getErrorEmoji
This commit is contained in:
parent
f4d728ea25
commit
de033417fc
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import { Attachment, MessageMentionOptions, SendableChannels, TextBasedChannel } from "discord.js";
|
||||
import { guildPlugin } from "knub";
|
||||
import { GenericCommandSource, sendContextResponse } from "../../pluginUtils.js";
|
||||
import { GenericCommandSource, makePublicFn, sendContextResponse } from "../../pluginUtils.js";
|
||||
import { errorMessage, successMessage } from "../../utils.js";
|
||||
import { getErrorEmoji, getSuccessEmoji } from "./functions/getEmoji.js";
|
||||
import { CommonPluginType, zCommonConfig } from "./types.js";
|
||||
|
@ -11,8 +11,8 @@ export const CommonPlugin = guildPlugin<CommonPluginType>()({
|
|||
configSchema: zCommonConfig,
|
||||
public(pluginData) {
|
||||
return {
|
||||
getSuccessEmoji,
|
||||
getErrorEmoji,
|
||||
getSuccessEmoji: makePublicFn(pluginData, getSuccessEmoji),
|
||||
getErrorEmoji: makePublicFn(pluginData, getErrorEmoji),
|
||||
|
||||
sendSuccessMessage: async (
|
||||
context: GenericCommandSource | SendableChannels,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue