lunarflu HF staff commited on
Commit
14bf818
1 Parent(s): 6942347

adding logger

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import re
12
  import asyncio
13
  import csv
14
  from tabulate import tabulate
15
-
16
 
17
  import gradio_client
18
  import gradio as gr
@@ -23,6 +23,9 @@ DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
23
  intents = discord.Intents.all()
24
  bot = commands.Bot(command_prefix='!', intents=intents)
25
 
 
 
 
26
 
27
  """"""
28
  XP_PER_MESSAGE = 10 # 100k messages = 1M exp = lvl 100
 
12
  import asyncio
13
  import csv
14
  from tabulate import tabulate
15
+ import logging
16
 
17
  import gradio_client
18
  import gradio as gr
 
23
  intents = discord.Intents.all()
24
  bot = commands.Bot(command_prefix='!', intents=intents)
25
 
26
+ logger = logging.getLogger(__name__)
27
+ logging.basicConfig(level=logging.DEBUG)
28
+
29
 
30
  """"""
31
  XP_PER_MESSAGE = 10 # 100k messages = 1M exp = lvl 100