Corrected syntax error
This commit is contained in:
parent
6e57ffe4a3
commit
e872935708
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue