maduck/GoWDiscordTeamBot

View on GitHub
discord_wrappers.py

Summary

Maintainability
A
0 mins
Test Coverage

Unable to import 'discord'
Open

import discord
Severity: Critical
Found in discord_wrappers.py by pylint

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)
Severity: Info
Found in discord_wrappers.py by pylint

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)
Severity: Info
Found in discord_wrappers.py by pylint

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):
Severity: Info
Found in discord_wrappers.py by pylint

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.')
Severity: Info
Found in discord_wrappers.py by pylint

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)
Severity: Info
Found in discord_wrappers.py by pylint

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.')
Severity: Info
Found in discord_wrappers.py by pylint

Used when a line is longer than a given number of characters.

Missing module docstring
Open

import discord
Severity: Info
Found in discord_wrappers.py by pylint

Used when a module has no docstring.Empty modules do not require a docstring.

Missing function or method docstring
Open

def admin_required(function):
Severity: Info
Found in discord_wrappers.py by pylint

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):
Severity: Info
Found in discord_wrappers.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

There are no issues that match your filters.

Category
Status