fix(commands|Utils>source): stupid of me, the +3 was 'cause of a diff in local and github
This commit is contained in:
parent
5a65fe1a6c
commit
42d7cad0e5
2 changed files with 0 additions and 2 deletions
|
@ -12,7 +12,6 @@ disable=
|
|||
C0114, # missing-module-docstring
|
||||
C0115, # missing-class-docstring
|
||||
C0116, # missing-function-docstring
|
||||
W0511, # fixme
|
||||
W0703, # broad-except
|
||||
R0801, # duplicate-code
|
||||
R0902, # too-many-instance-attributes
|
||||
|
|
|
@ -229,7 +229,6 @@ class Utils(commands.Cog, name="Utils"):
|
|||
|
||||
try:
|
||||
lines, start_line = inspect.getsourcelines(src)
|
||||
start_line -= 3 # todo: find why this -3 is necessary
|
||||
except OSError:
|
||||
return await ctx.send(
|
||||
_(
|
||||
|
|
Loading…
Reference in a new issue