3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-24 01:55:03 +00:00
zeppelin/backend/src/plugins/BotControl/activeReload.ts

13 lines
288 B
TypeScript

let activeReload: [string, string] | null = null;
export function getActiveReload() {
return activeReload;
}
export function setActiveReload(guildId: string, channelId: string) {
activeReload = [guildId, channelId];
}
export function resetActiveReload() {
activeReload = null;
}