Init some global variables

This commit is contained in:
Supositware 2022-12-18 22:53:31 +01:00
parent cfa6a55d39
commit df722f8ffb

View file

@ -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) {