From b3fb2e65abf07baba7cc03393a9da919f2ad25bf Mon Sep 17 00:00:00 2001 From: derpystuff <3515180-derpystuff@users.noreply.gitlab.com> Date: Mon, 12 Jun 2023 13:45:23 +0200 Subject: [PATCH] migrate beta -> mixed production --- labscore/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/labscore/client.js b/labscore/client.js index a1b6633..8df2659 100644 --- a/labscore/client.js +++ b/labscore/client.js @@ -33,13 +33,13 @@ module.exports.paginator = new Paginator(cluster, { // Clients -let commandPrefix = '.' -if(process.env.PREFIX_OVERRIDE) commandPrefix = process.env.PREFIX_OVERRIDE; +let commandPrefixes = ['.','..'] // Migration from beta -> main, remove .. eventually +if(process.env.PREFIX_OVERRIDE) commandPrefixes = process.env.PREFIX_OVERRIDE.split('|'); const commandClient = new CommandClient(cluster, { activateOnEdits: true, mentionsEnabled: false, - prefix: commandPrefix, + prefixes: commandPrefixes, useClusterClient: true, ratelimits: [ {duration: 60000, limit: 50, type: 'guild'},