diff options
| author | 2021-03-19 17:55:44 +0200 | |
|---|---|---|
| committer | 2021-03-19 17:55:44 +0200 | |
| commit | 69c49a8ca9aaf552719e1045c7a4c99f73185d62 (patch) | |
| tree | dbc4b1359b714402a4eeea963256d92c86396ced | |
| parent | Add additional logging to _review.py (diff) | |
Use ctx.send instead of ctx.channel.send
Co-authored-by: ToxicKidz <[email protected]>
| -rw-r--r-- | bot/exts/recruitment/talentpool/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/recruitment/talentpool/_cog.py b/bot/exts/recruitment/talentpool/_cog.py index 7b21dcd53..f3e3539b6 100644 --- a/bot/exts/recruitment/talentpool/_cog.py +++ b/bot/exts/recruitment/talentpool/_cog.py @@ -306,7 +306,7 @@ class TalentPool(WatchChannel, Cog, name="Talentpool"): """Mark a nomination as reviewed and cancel the review task.""" if not await self.reviewer.mark_reviewed(ctx, nomination_id): return - await ctx.channel.send(f"✅ The nomination with ID `{nomination_id}` was marked as reviewed.") + await ctx.send(f"✅ The nomination with ID `{nomination_id}` was marked as reviewed.") @nomination_group.command(aliases=('review',)) @has_any_role(*MODERATION_ROLES) |