Skip to content
This repository was archived by the owner on Jan 9, 2018. It is now read-only.
This repository was archived by the owner on Jan 9, 2018. It is now read-only.

[Bug] Antilink not deleting links #35

@ghost

Description

  • Cog:
    Antilink
  • Issue description:
    Not deleting links
  • Reproduction Steps:
    Well, I don't know.
  • Traceback of error (Console):
Traceback (most recent call last):
  File "lib\discord\ext\commands\bot.py", line 252, in _run_extra
    yield from coro(*args, **kwargs)
  File "C:\Other Program\Red-DiscordBot\cogs\antilink.py", line 139, in _new_message
    if message.channel.id in self.json[message.server.id]['excluded_channels']:
KeyError: 'excluded_channels'
Ignoring exception in message
Traceback (most recent call last):
  File "lib\discord\ext\commands\bot.py", line 252, in _run_extra
    yield from coro(*args, **kwargs)
  File "C:\Other Program\Red-DiscordBot\cogs\antilink.py", line 139, in _new_message
    if message.channel.id in self.json[message.server.id]['excluded_channels']:
KeyError: 'excluded_channels'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions