diff options
author | ziro <palembani@gmail.com> | 2020-08-05 05:33:41 +0000 |
---|---|---|
committer | ziro <palembani@gmail.com> | 2020-08-05 05:33:41 +0000 |
commit | 96f76a593e6460b890465c4cc33d9c4071d75231 (patch) | |
tree | 9a0d50b8ceee938df795be2003d42d38e8cbdce5 /bot.py | |
parent | dbc3db1f273ec42e20227368705b77bf690ba5a8 (diff) | |
download | steve-bot-96f76a593e6460b890465c4cc33d9c4071d75231.tar steve-bot-96f76a593e6460b890465c4cc33d9c4071d75231.tar.gz steve-bot-96f76a593e6460b890465c4cc33d9c4071d75231.tar.bz2 steve-bot-96f76a593e6460b890465c4cc33d9c4071d75231.tar.lz steve-bot-96f76a593e6460b890465c4cc33d9c4071d75231.tar.xz steve-bot-96f76a593e6460b890465c4cc33d9c4071d75231.tar.zst steve-bot-96f76a593e6460b890465c4cc33d9c4071d75231.zip |
+ Automatically add role "Member" to new member
Diffstat (limited to 'bot.py')
-rw-r--r-- | bot.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -48,7 +48,8 @@ class ziBot(commands.Bot): command = message.content.split()[0] except IndexError: pass - print('Message from {0.author}: {0.content} on {0.channel}'.format(message)) + self.logger.warning('Message from {message.author}: {message.content} \n on {message.channel}') + print('Message from {0.author}: {0.content} \n on {0.channel}'.format(message)) def run(self): super().run(self.config["token"], reconnect=True) |