Skip to content

Commit 059529c

Browse files
committed
forgot that wall_e doesn't do the file text uploading for the update_listener service
1 parent 66945b7 commit 059529c

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

wall_e/utilities/log_channel.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ async def write_to_bot_log_channel(logger, config, bot, file_path, chan_id, chan
2525
)
2626
f = open(file_path, 'r')
2727
f.seek(0)
28-
channels_with_rate_limit = channel_name in [
29-
'member_update_listener_debug', 'member_update_listener_discordpy_warn',
30-
'member_update_listener_discordpy_debug'
31-
]
28+
channels_with_rate_limit = channel_name in []
3229
incident_report_chanel_name = config.get_config_value('channel_names', 'INCIDENT_REPORT_CHANNEL')
3330
while not bot.is_closed():
3431
f.flush()
@@ -71,5 +68,5 @@ async def write_to_bot_log_channel(logger, config, bot, file_path, chan_id, chan
7168
if message_sent and channels_with_rate_limit:
7269
# adding a sleep cause the amount of debug logs that I print due to the wall_e_models module can
7370
# trigger a Rate Limit exception if done too fast
74-
await asyncio.sleep(7)
71+
await asyncio.sleep(3)
7572
await asyncio.sleep(1)

0 commit comments

Comments
 (0)