mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
10 lines
360 B
TypeScript
10 lines
360 B
TypeScript
import { GuildPluginData } from "knub";
|
|
import { StarboardPluginType } from "../types";
|
|
|
|
export async function removeMessageFromStarboardMessages(
|
|
pluginData: GuildPluginData<StarboardPluginType>,
|
|
starboard_message_id: string,
|
|
channel_id: string,
|
|
) {
|
|
await pluginData.state.starboardMessages.deleteStarboardMessage(starboard_message_id, channel_id);
|
|
}
|