Fix import paths
This commit is contained in:
parent
b95e5d6bad
commit
311dcac071
0
GhostBallBot/database/__init__.py
Normal file
0
GhostBallBot/database/__init__.py
Normal file
0
GhostBallBot/discord_client/__init__.py
Normal file
0
GhostBallBot/discord_client/__init__.py
Normal file
@ -6,7 +6,7 @@ import uuid
|
|||||||
|
|
||||||
import dateparser
|
import dateparser
|
||||||
|
|
||||||
from .database.models import database, GameModel, GuessModel
|
from database.models import database, GameModel, GuessModel
|
||||||
|
|
||||||
class Game:
|
class Game:
|
||||||
"""
|
"""
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
import os
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from .discord_client import client
|
from discord_client.client import GhostBallClient
|
||||||
from .database.models import DATABASE, database, create_models
|
from database.models import DATABASE, database, create_models
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
client = GhostBallClient()
|
client = GhostBallClient(intents=None)
|
||||||
client.run(os.environ.get('discord_token'))
|
client.run(os.environ.get('discord_token'))
|
||||||
|
|
||||||
# Set up the database if we haven't already
|
# Set up the database if we haven't already
|
||||||
|
Loading…
Reference in New Issue
Block a user