diff options
| author | 2020-06-01 08:18:27 +0300 | |
|---|---|---|
| committer | 2020-06-01 08:18:27 +0300 | |
| commit | 18968d27ae5bc3b004c881a0c78bcfb305371158 (patch) | |
| tree | 7e2afc0c3afcd48f3fa44a33d9d3516b01bd5b07 | |
| parent | Source: Move calling `get_source_link` to `build_embed` (diff) | |
Source: Update `get_source_link` docstring
| -rw-r--r-- | bot/cogs/source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/source.py b/bot/cogs/source.py index 00a5b344b..50fd4599d 100644 --- a/bot/cogs/source.py +++ b/bot/cogs/source.py @@ -58,7 +58,7 @@ class BotSource(commands.Cog): await ctx.send(embed=await self.build_embed(source_item, ctx)) def get_source_link(self, source_item: SourceType) -> Tuple[str, str, Optional[int]]: - """Build GitHub link of source item.""" + """Build GitHub link of source item, return this link, file location and first line number.""" if isinstance(source_item, commands.HelpCommand): src = type(source_item) filename = inspect.getsourcefile(src) |