Testing error on twitch loop
This commit is contained in:
parent
6336244dd4
commit
03032d03e5
|
@ -43,7 +43,7 @@ async def checkChannels(bot):
|
||||||
server = discord.utils.find(lambda s: s.id == "183662839741939712", bot.servers)
|
server = discord.utils.find(lambda s: s.id == "183662839741939712", bot.servers)
|
||||||
channel = discord.utils.find(lambda c: c.id == "184201951381028864", server.channels)
|
channel = discord.utils.find(lambda c: c.id == "184201951381028864", server.channels)
|
||||||
fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```'
|
fmt = 'An error occurred while processing this request: ```py\n{}: {}\n```'
|
||||||
await bot.send_message(, fmt.format(type(error).__name__, error))
|
await bot.send_message(channel, fmt.format(type(error).__name__, error))
|
||||||
|
|
||||||
|
|
||||||
class Twitch:
|
class Twitch:
|
||||||
|
|
Loading…
Reference in a new issue