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.
pull/65/head
Ianardo DiCaprio 6 years ago committed by GitHub
parent 4a51be593a
commit a3f1fa680c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@ class LastSeen(Cog):
self.bot = bot self.bot = bot
self.config = Config.get_conf(self, identifier=9811198108111121, force_registration=True) self.config = Config.get_conf(self, identifier=9811198108111121, force_registration=True)
default_global = {} default_global = {}
default_guild = {"enabled": True} default_guild = {"enabled": False}
default_member = {"seen": None} default_member = {"seen": None}
self.config.register_global(**default_global) self.config.register_global(**default_global)

Loading…
Cancel
Save