aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-05-20 16:25:26 +0300
committerGravatar ks129 <[email protected]>2020-05-20 16:25:26 +0300
commit36ef3514674812afab6c94b12b3f9d3768b324f5 (patch)
tree455dcce22c20c0fb98f100bbd2575479f4760e0e
parentSource: Remove links from title of embeds (diff)
Source: Remove Cog check displaying from command
-rw-r--r--bot/cogs/source.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bot/cogs/source.py b/bot/cogs/source.py
index b285b4089..220da535d 100644
--- a/bot/cogs/source.py
+++ b/bot/cogs/source.py
@@ -11,9 +11,6 @@ from bot.constants import URLs
CANT_RUN_MESSAGE = "You can't run this command here."
CAN_RUN_MESSAGE = "You are able to run this command."
-COG_CHECK_FAIL = "You can't use commands what is in this Cog here."
-COG_CHECK_PASS = "You can use commands from this Cog."
-
class SourceConverter(Converter):
"""Convert argument to help command, command or Cog."""
@@ -96,8 +93,6 @@ class Source(Cog):
if isinstance(source_object, Command):
embed.set_footer(text=CAN_RUN_MESSAGE if await source_object.can_run(ctx) else CANT_RUN_MESSAGE)
- elif isinstance(source_object, Cog):
- embed.set_footer(text=COG_CHECK_PASS if source_object.cog_check(ctx) else COG_CHECK_FAIL)
return embed