migrate beta -> mixed production

This commit is contained in:
derpystuff 2023-06-12 13:45:23 +02:00
parent d36939b81c
commit b3fb2e65ab

View file

@ -33,13 +33,13 @@ module.exports.paginator = new Paginator(cluster, {
// Clients // Clients
let commandPrefix = '.' let commandPrefixes = ['.','..'] // Migration from beta -> main, remove .. eventually
if(process.env.PREFIX_OVERRIDE) commandPrefix = process.env.PREFIX_OVERRIDE; if(process.env.PREFIX_OVERRIDE) commandPrefixes = process.env.PREFIX_OVERRIDE.split('|');
const commandClient = new CommandClient(cluster, { const commandClient = new CommandClient(cluster, {
activateOnEdits: true, activateOnEdits: true,
mentionsEnabled: false, mentionsEnabled: false,
prefix: commandPrefix, prefixes: commandPrefixes,
useClusterClient: true, useClusterClient: true,
ratelimits: [ ratelimits: [
{duration: 60000, limit: 50, type: 'guild'}, {duration: 60000, limit: 50, type: 'guild'},