mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Payday: Fix missing await (#3554)
This commit is contained in:
parent
74a3eba08f
commit
888c47cdd2
@ -400,7 +400,7 @@ class Economy(commands.Cog):
|
|||||||
# Gets the users latest successfully payday and adds the guilds payday time
|
# Gets the users latest successfully payday and adds the guilds payday time
|
||||||
next_payday = (
|
next_payday = (
|
||||||
await self.config.member(author).next_payday()
|
await self.config.member(author).next_payday()
|
||||||
+ self.config.guild(guild).PAYDAY_TIME()
|
+ await self.config.guild(guild).PAYDAY_TIME()
|
||||||
)
|
)
|
||||||
if cur_time >= next_payday:
|
if cur_time >= next_payday:
|
||||||
credit_amount = await self.config.guild(guild).PAYDAY_CREDITS()
|
credit_amount = await self.config.guild(guild).PAYDAY_CREDITS()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user