mirror of
https://github.com/CompeyDev/create-guilded-bot.git
synced 2024-12-13 05:20:36 +00:00
14 lines
337 B
TypeScript
14 lines
337 B
TypeScript
export let globalsStore = {
|
|
meta: { created: new Date().getDate() + new Date().getTime() },
|
|
};
|
|
export function setGlobal(global: string, value: any): void {
|
|
globalsStore[global] = value;
|
|
}
|
|
|
|
export function getGlobal(global: string): any {
|
|
return globalsStore[global];
|
|
}
|
|
|
|
export function getGlobals(): {} {
|
|
return globalsStore;
|
|
}
|