feat: add proper logging

This commit is contained in:
2025-01-08 08:56:32 -05:00
parent d56bac1b2f
commit e3982c064d
6 changed files with 29 additions and 11 deletions

View File

@@ -1,3 +1,5 @@
from logging import error
import disnake
import utils
@@ -6,7 +8,7 @@ from state import client, players
def play_after_callback(e, message, once):
if e:
print(f"player error: {e}")
error(f"player error: {e}")
if not once:
play_next(message)