forked from Supositware/Haha-Yes
Init some global variables
This commit is contained in:
parent
cfa6a55d39
commit
df722f8ffb
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ export default {
|
|||
name: 'ready',
|
||||
once: true,
|
||||
async execute(client) {
|
||||
// Init global variables.
|
||||
global.ratelimit = {};
|
||||
global.boards = {};
|
||||
|
||||
const ytdlpVersion = await new Promise((resolve, reject) => {
|
||||
exec('./bin/yt-dlp --version', (err, stdout, stderr) => {
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in a new issue