Make default enabled False
Made default enabled False, this is because with a decent amount of users this skyrockets your CPU, so making this default off, only servers that actually want it will be enabled, thus reducing CPU usage.
This commit is contained in:
		
							parent
							
								
									4a51be593a
								
							
						
					
					
						commit
						a3f1fa680c
					
				| @ -24,7 +24,7 @@ class LastSeen(Cog): | ||||
|         self.bot = bot | ||||
|         self.config = Config.get_conf(self, identifier=9811198108111121, force_registration=True) | ||||
|         default_global = {} | ||||
|         default_guild = {"enabled": True} | ||||
|         default_guild = {"enabled": False} | ||||
|         default_member = {"seen": None} | ||||
| 
 | ||||
|         self.config.register_global(**default_global) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ianardo DiCaprio
						Ianardo DiCaprio