Skip to content

Commit 15caad8

Browse files
committed
Debug Test Commit
1 parent f36bc19 commit 15caad8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Teapot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@
7676
teapot.managers.database.create_table(
7777
"CREATE TABLE IF NOT EXISTS `guild_logs` (`timestamp` TEXT, `guild_id` BIGINT, `channel_id` BIGINT, `message_id` BIGINT, `user_id` BIGINT, `action_type` TINYTEXT, `message` MEDIUMTEXT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci")
7878

79-
print(
80-
f"Connected to database ({teapot.config.db_host()}:{teapot.config.db_port()}) in {round(time.perf_counter() - time_start, 2)}s")
81-
8279
db.execute("INSERT INTO `bot_logs`(timestamp, type, class, message) VALUES(%s, %s, %s, %s)",
8380
(teapot.time(), "BOT_START", __name__, "Initialized bot"))
8481
database.commit()
8582

83+
print(
84+
f"Connected to database ({teapot.config.db_host()}:{teapot.config.db_port()}) in {round(time.perf_counter() - time_start, 2)}s")
85+
8686
intents = discord.Intents.default()
8787
intents.members = True
8888
intents.typing = False

0 commit comments

Comments
 (0)