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
|
// 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'},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue