Skip to content

Commit

Permalink
Remove usage of loop arg in call to start_adding_reactions (#71)
Browse files Browse the repository at this point in the history
Update to version 1.1.1

Co-authored-by: El Laggron <laggron42@gmail.com>
  • Loading branch information
Jackenmen and laggron42 committed Mar 8, 2020
1 parent 630737a commit 9658e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instantcmd/instantcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, bot):
self._init_logger()

__author__ = ["retke (El Laggron)"]
__version__ = "1.1.0"
__version__ = "1.1.1"

def _init_logger(self):
log_format = logging.Formatter(
Expand Down Expand Up @@ -189,7 +189,7 @@ async def _ask_for_edit(self, ctx: commands.Context, kind: str) -> bool:
"Would you like to replace it?"
)
pred = ReactionPredicate.yes_or_no(msg, ctx.author)
start_adding_reactions(msg, ReactionPredicate.YES_OR_NO_EMOJIS, loop=ctx.bot.loop)
start_adding_reactions(msg, ReactionPredicate.YES_OR_NO_EMOJIS)
try:
await self.bot.wait_for("reaction_add", check=pred, timeout=30)
except asyncio.TimeoutError:
Expand Down

0 comments on commit 9658e1e

Please sign in to comment.