Fix channel heating (independent servers)
This commit is contained in:
@@ -76,7 +76,7 @@ class FlanaDiscBot(DiscordBot, FlanaBot):
|
|||||||
heating_context.channels_data = channels_data
|
heating_context.channels_data = channels_data
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
await asyncio.sleep(4) # constants.HEAT_PERIOD_SECONDS)
|
await asyncio.sleep(constants.HEAT_PERIOD_SECONDS)
|
||||||
|
|
||||||
if channel.members:
|
if channel.members:
|
||||||
heating_context.heat_level += 0.5
|
heating_context.heat_level += 0.5
|
||||||
|
|||||||
Reference in New Issue
Block a user