Compare commits

...

2 Commits

Author SHA1 Message Date
35f818d00d Logging messages from db. 2024-03-09 10:14:14 -05:00
3f3b8c53b2 Setting up logging 2024-03-09 10:07:12 -05:00

View File

@ -19,6 +19,8 @@ import discord
from discord.ext import commands, tasks
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
class Robottas(commands.Bot):
@ -504,6 +506,7 @@ class Robottas(commands.Bot):
try:
for message in messages:
await self.process_message(message)
logging.debug(message)
await asyncio.sleep(3)
except: