mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
migrate beta -> mixed production
This commit is contained in:
parent
d36939b81c
commit
b3fb2e65ab
1 changed files with 3 additions and 3 deletions
|
@ -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'},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue