maduck/GoWDiscordTeamBot

View on GitHub

Showing 280 of 280 total issues

Too few public methods (0/2)
Open

class FakeMessage:
Severity: Info
Found in discord_fake_classes.py by pylint

Used when class has too few public methods, so be sure it's really worth it.

Too many arguments (6/5)
Open

async def add_slash_command(bot_id,
Severity: Info
Found in command_registry.py by pylint

Used when a function or method takes too many arguments.

Line too long (103/100)
Open

        discord_client.pet_rescues = [rescue for rescue in discord_client.pet_rescues if rescue.active]
Severity: Info
Found in bot_tasks.py by pylint

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

Line too long (119/100)
Open

    filenames = LANG_FILES + ['World.json', 'User.json', 'Campaign.json', 'Soulforge.json', 'Event.json', 'Store.json']
Severity: Info
Found in bot_tasks.py by pylint

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

Variable name y doesn't conform to snake_case naming style
Open

                x, y = kingdom['coordinates']
Severity: Info
Found in graphic_map.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Variable name t2 doesn't conform to snake_case naming style
Open

                t, t2 = x / 2048, y / 2048
Severity: Info
Found in graphic_map.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Missing module docstring
Open

class FakeMessage:
Severity: Info
Found in discord_fake_classes.py by pylint

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

Missing class docstring
Open

class FakeChannel:
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a class has no docstring.Even an empty class must have a docstring.

Missing class docstring
Open

class FakeTyping:
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a class has no docstring.Even an empty class must have a docstring.

Line too long (108/100)
Open

        'icon': f'Liveevents/Liveeventslocationicons_{battle["Icon"]}_full.png' if 'Icon' in battle else '',
Severity: Info
Found in event_helpers.py by pylint

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

Line too long (120/100)
Open

        # \[(?P<weapon_troops>([167]\d{3},?)+){1,4}(?P<banner>3\d{3},?)?(?P<talents>([0-3]{1},?){7})?(?P<class>\d{5})?\]
Severity: Info
Found in command_registry.py by pylint

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

Argument name a doesn't conform to snake_case naming style
Open

def lerp(a, b, t):
Severity: Info
Found in graphic_map.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 render_overlays(self):
Severity: Info
Found in graphic_map.py by pylint

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

Variable name y doesn't conform to snake_case naming style
Open

                y = 3 / 4 * lerp(y, y, t2) + 250
Severity: Info
Found in graphic_map.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Missing module docstring
Open

import asyncio
Severity: Info
Found in bot_tasks.py by pylint

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

Unable to import 'requests.exceptions'
Open

import requests.exceptions
Severity: Critical
Found in graphic_map.py by pylint

Used when pylint has been unable to import a module.

Missing function or method docstring
Open

    def render_kingdoms(self):
Severity: Info
Found in graphic_map.py by pylint

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

Missing class docstring
Open

class FakeMessage:
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a class has no docstring.Even an empty class must have a docstring.

Too many arguments (7/5)
Open

    def __init__(self, author, guild, channel, content, interaction_id=None, interaction_token=None):
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a function or method takes too many arguments.

Missing class docstring
Open

class OptionType(Enum):
Severity: Info
Found in command_registry.py by pylint

Used when a class has no docstring.Even an empty class must have a docstring.

Severity
Category
Status
Source
Language