Fix import paths

This commit is contained in:
c0de 2022-10-03 20:08:27 -05:00
parent b95e5d6bad
commit 311dcac071
4 changed files with 4 additions and 4 deletions

View File

View File

View File

@ -6,7 +6,7 @@ import uuid
import dateparser
from .database.models import database, GameModel, GuessModel
from database.models import database, GameModel, GuessModel
class Game:
"""

View File

@ -5,11 +5,11 @@
import os
from pathlib import Path
from .discord_client import client
from .database.models import DATABASE, database, create_models
from discord_client.client import GhostBallClient
from database.models import DATABASE, database, create_models
if __name__ == '__main__':
client = GhostBallClient()
client = GhostBallClient(intents=None)
client.run(os.environ.get('discord_token'))
# Set up the database if we haven't already