mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-24 10:05:03 +00:00
Port BotControl
This commit is contained in:
parent
34841bae3f
commit
208eb0822c
10 changed files with 237 additions and 2 deletions
13
backend/src/plugins/BotControl/activeReload.ts
Normal file
13
backend/src/plugins/BotControl/activeReload.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
let activeReload: [string, string] = null;
|
||||
|
||||
export function getActiveReload() {
|
||||
return activeReload;
|
||||
}
|
||||
|
||||
export function setActiveReload(guildId: string, channelId: string) {
|
||||
activeReload = [guildId, channelId];
|
||||
}
|
||||
|
||||
export function resetActiveReload() {
|
||||
activeReload = null;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue