development #1

Merged
AllfatherHatt merged 157 commits from development into master 2025-06-14 15:47:26 +02:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 7e4de04949 - Show all commits

View File

@ -1,5 +1,6 @@
from redbot.core.bot import Red
from .trafficCog import TrafficCog
def setup(bot):
cog = TrafficCog(bot)
bot.add_cog(cog)
bot.add_cog(cog)

View File

@ -6,7 +6,7 @@ import pytz
class TrafficCog(commands.Cog):
def __init__(self, bot):
self.bot = bot
self.config = commands.Config.get_conf(self, identifier=123456789)
self.config = Config.get_conf(self, identifier=123456789, force_registration=True)
default_guild = {
"traffic_channel": None,
"daily_stats": {"joined": 0, "left": 0, "banned": 0},