Unable to import 'discord' Open
import discord
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Variable name e
doesn't conform to snake_case naming style Open
e = discord.Embed(title='Restricted Command', color=self.RED)
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Variable name e
doesn't conform to snake_case naming style Open
e = discord.Embed(title='Owner command', color=self.RED)
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Missing function or method docstring Open
def guild_required(function):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Line too long (112/100) Open
e.add_field(name='Error', value='You need to be server owner or administrator to use this command.')
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Variable name e
doesn't conform to snake_case naming style Open
e = discord.Embed(title='Administrative change', color=self.RED)
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Line too long (101/100) Open
e.add_field(name='Error', value='Only the bot owner has permission to use this command.')
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Missing module docstring Open
import discord
- Read upRead up
- Exclude checks
Used when a module has no docstring.Empty modules do not require a docstring.
Missing function or method docstring Open
def admin_required(function):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Missing function or method docstring Open
def owner_required(function):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.