Skip to content

Commit

Permalink
fix: import config
Browse files Browse the repository at this point in the history
  • Loading branch information
Destinea committed Dec 14, 2024
1 parent 6a666a9 commit 4339f48
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 545 deletions.
6 changes: 3 additions & 3 deletions bot/giveaway/track.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from loguru import logger

from bot.giveaway.utils import produce_giveaway_event
from local.main import config
from utility.config import Config
from utility.classes import MongoDatabase # Your MongoDB utility

# Schedule giveaways to start or end
Expand Down Expand Up @@ -72,8 +72,8 @@ async def main():
try:
# Initialize database and Kafka producer
db_client = MongoDatabase(
stats_db_connection=config.stats_mongodb,
static_db_connection=config.static_mongodb,
stats_db_connection=Config.stats_mongodb,
static_db_connection=Config.static_mongodb,
)
producer = AIOKafkaProducer(
bootstrap_servers=['85.10.200.219:9092'], api_version=(3, 6, 0),
Expand Down
94 changes: 0 additions & 94 deletions local/clash.py

This file was deleted.

188 changes: 0 additions & 188 deletions local/events/clan_events.py

This file was deleted.

65 changes: 0 additions & 65 deletions local/events/raid_events.py

This file was deleted.

Loading

0 comments on commit 4339f48

Please sign in to comment.