diff options
| author | 2021-07-23 16:29:56 +0100 | |
|---|---|---|
| committer | 2021-07-23 16:29:56 +0100 | |
| commit | b2061e4f5afab8d8d714ca7a1f969d84c6f1e213 (patch) | |
| tree | 257e20029e31ee3361a402b15b0e22bdee8f2f53 | |
| parent | Update code to use `utils.messages.wait_for_deletion` (diff) | |
Remove deprecated function
| -rw-r--r-- | bot/exts/info/doc/_cog.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py index e00c64150..ddf8e65e3 100644 --- a/bot/exts/info/doc/_cog.py +++ b/bot/exts/info/doc/_cog.py @@ -447,13 +447,3 @@ class DocCog(commands.Cog): self.inventory_scheduler.cancel_all() self.init_refresh_task.cancel() asyncio.create_task(self.item_fetcher.clear(), name="DocCog.item_fetcher unload clear") - - -def predicate_emoji_reaction( - ctx: commands.Context, - message: discord.Message, - reaction: discord.Reaction, - user: discord.User -) -> bool: - """Return whether command author added the `:x:` emote to the `message`.""" - return reaction.message == message and user == ctx.author and str(reaction) == DELETE_ERROR_MESSAGE_REACTION |