From 8fada5683661f10ec0b494672006f71da839b110 Mon Sep 17 00:00:00 2001 From: timotheyca Date: Fri, 19 Aug 2022 03:48:42 +0300 Subject: [PATCH] migrate --- requirements.txt | 4 ++-- v6d3vote/run-bot.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9780724..cdf1508 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ aiohttp~=3.7.4.post0 discord.py~=1.7.3 -git+https://gitea.ongoteam.net/PTV/v6d1tokens.git@8b525ee05be22891a1c18d5e96153807f79930be -git+https://gitea.ongoteam.net/PTV/v6d2ctx.git@57919e65069e62fc31666adebd6c107be067b724 +git+https://gitea.parrrate.ru/PTV/v6d1tokens.git@c4c6cf43b1082c666e6891f73df825acee6ae86d +git+https://gitea.parrrate.ru/PTV/v6d2ctx.git@096314b9bbb6153a9a75afcc16ddf7833384df18 diff --git a/v6d3vote/run-bot.py b/v6d3vote/run-bot.py index fa6b25d..55629ff 100644 --- a/v6d3vote/run-bot.py +++ b/v6d3vote/run-bot.py @@ -96,7 +96,7 @@ class Poll: cls, ctx: Context, options: list[tuple[str, discord.Emoji | str]], title: str, votes: dict[discord.Member, str] ): - message: discord.Message = await ctx.reply('creating poll...') + message: discord.Message = await ctx.channel.send('creating poll...') async with lock_for(message, 'failed to create poll'): if len(set(emoji for option, emoji in options)) != len(options): raise Explicit('duplicate emojis')