Use typing indicator while updating
This commit is contained in:
parent
cd7c979d10
commit
0a147407c1
@ -78,6 +78,8 @@ class ArkhamDBUpdater(commands.Bot):
|
|||||||
await message.delete()
|
await message.delete()
|
||||||
|
|
||||||
async def update_channel_latest_decks(self, channel: discord.TextChannel) -> None:
|
async def update_channel_latest_decks(self, channel: discord.TextChannel) -> None:
|
||||||
|
print(f'Running update in channel {channel.guild} - {channel.name}')
|
||||||
|
async with channel.typing():
|
||||||
deck_ids = await self.gather_deck_ids(channel)
|
deck_ids = await self.gather_deck_ids(channel)
|
||||||
latest_decks = await self.arkhamdb_client.get_latest_decks(deck_ids)
|
latest_decks = await self.arkhamdb_client.get_latest_decks(deck_ids)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user