1
0
Fork 0
mirror of synced 2024-06-23 08:40:41 +12:00

Corrected syntax error

This commit is contained in:
Phxntxm 2016-10-07 15:40:29 -05:00
parent 6e57ffe4a3
commit e872935708

View file

@ -29,7 +29,7 @@ class Owner:
entry = {'motd': message, 'date': date}
# Try to add this, if there's an entry for that date, lets update it to make sure only one motd is sent a day
# I should be managing this myself, more than one should not be sent in a day
if false await config.add_content('motd', entry, r_filter):
if await config.add_content('motd', entry, r_filter):
await config.update_content('motd', entry, r_filter)
await self.bot.say("New motd update for {}!".format(date))