lunarflu HF staff commited on
Commit
815ddae
1 Parent(s): 754d639

testing logger

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -15,6 +15,7 @@ from ratelimiter import RateLimiter
15
  from datetime import datetime # for times
16
  from pytz import timezone # for times
17
  import asyncio # check if used
 
18
 
19
  zurich_tz = timezone("Europe/Zurich")
20
 
@@ -25,6 +26,8 @@ DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
25
  intents = discord.Intents.all()
26
  bot = commands.Bot(command_prefix='!', intents=intents)
27
 
 
 
28
 
29
  #rate_limiter = RateLimiter(max_calls=10, period=60) # needs testing
30
 
 
15
  from datetime import datetime # for times
16
  from pytz import timezone # for times
17
  import asyncio # check if used
18
+ import logging
19
 
20
  zurich_tz = timezone("Europe/Zurich")
21
 
 
26
  intents = discord.Intents.all()
27
  bot = commands.Bot(command_prefix='!', intents=intents)
28
 
29
+ logger = logging.getLogger(__name__)
30
+ logging.basicConfig(level=logging.DEBUG)
31
 
32
  #rate_limiter = RateLimiter(max_calls=10, period=60) # needs testing
33