mirror of
https://github.com/GaMeNu/HFCNotificator.git
synced 2024-11-16 15:24:51 +02:00
v2.2.3
Slowed down bot sending thingy
This commit is contained in:
parent
d64572125e
commit
81f1cad483
@ -447,7 +447,7 @@ class Notificator(commands.Cog):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
await dc_ch.send(embed=emb.embed, view=self.hfc_button_view())
|
await dc_ch.send(embed=emb.embed, view=self.hfc_button_view())
|
||||||
await asyncio.sleep(0.01)
|
await asyncio.sleep(0.02)
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
self.log.warning(f'Failed to send alert in channel id={channel.district_id}:\n'
|
self.log.warning(f'Failed to send alert in channel id={channel.district_id}:\n'
|
||||||
f'{e}')
|
f'{e}')
|
||||||
|
Loading…
Reference in New Issue
Block a user