Increased prefix/disabled channel cache limit
This commit is contained in:
		
							parent
							
								
									14855f2a07
								
							
						
					
					
						commit
						cb3afa0050
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										4
									
								
								shard.js
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								shard.js
									
										
									
									
									
								
							| 
						 | 
					@ -81,7 +81,7 @@ class Shard extends BaseClusterWorker {
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.ipc.register("playbroadcast", async (message) => {
 | 
					    this.ipc.register("playbroadcast", (message) => {
 | 
				
			||||||
      this.bot.editStatus("dnd", {
 | 
					      this.bot.editStatus("dnd", {
 | 
				
			||||||
        name: `${message.msg} | @${this.bot.user.username} help`,
 | 
					        name: `${message.msg} | @${this.bot.user.username} help`,
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
| 
						 | 
					@ -89,7 +89,7 @@ class Shard extends BaseClusterWorker {
 | 
				
			||||||
      return this.ipc.broadcast("broadcastSuccess");
 | 
					      return this.ipc.broadcast("broadcastSuccess");
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this.ipc.register("broadcastend", async () => {
 | 
					    this.ipc.register("broadcastend", () => {
 | 
				
			||||||
      this.bot.editStatus("dnd", {
 | 
					      this.bot.editStatus("dnd", {
 | 
				
			||||||
        name: `${misc.random(messages)} | @${this.bot.user.username} help`,
 | 
					        name: `${misc.random(messages)} | @${this.bot.user.username} help`,
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -17,7 +17,7 @@ exports.runningCommands = new TimedMap();
 | 
				
			||||||
class Cache extends Map {
 | 
					class Cache extends Map {
 | 
				
			||||||
  constructor(values) {
 | 
					  constructor(values) {
 | 
				
			||||||
    super(values);
 | 
					    super(values);
 | 
				
			||||||
    this.maxValues = 512;
 | 
					    this.maxValues = 2048;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  set(key, value) {
 | 
					  set(key, value) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue