This commit is contained in:
zuckerberg 2021-07-23 21:18:36 -04:00
parent afb75c496a
commit c6220d0ebd

2
bot.py
View File

@ -26,7 +26,7 @@ class RadioBot(pydle.Client):
if source != self.nickname:
if message.startswith(".art"):
art = getArt()
await self.message(target, '"' + art['title'] + '" ' + art['objectDate'] + '" ' + art['primaryImage'])
await self.message(target, '"' + art['title'] + '" ' + art['objectDate'] + ' ' + art['primaryImage'])
client = RadioBot('ArtBot', realname='ArtBot')
client.run('irc.rizon.net', tls=True, tls_verify=True)