mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-15 05:36:54 +00:00
Fixed a bug arising from new debug definitions
This commit is contained in:
@@ -49,7 +49,7 @@ async function backupLists(bot, IDM) {
|
||||
*/
|
||||
async function loadBotBackups(bot, IDM) {
|
||||
try {
|
||||
if (IDM) {
|
||||
if (!process.env.backupLists) {
|
||||
const botBackups = require('../admin/backup.json').backups;
|
||||
bot.lockedChannels = objToMap(botBackups.locked);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user