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.

antilinkset togglestrict shows 'Error in command' #36

@Skyridr

Description

@Skyridr

When using !antilinkset togglestrict, the following console error is being printed:

[21/09/2017 11:41] ERROR red on_command_error 369: Exception in command 'antilinkset togglestrict'
Traceback (most recent call last):
File "lib/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "/Red/cogs/antilink.py", line 61, in togglestrict
if self.json[serverid]['strict'] is True:
KeyError: 'strict'

Ubuntu 16.04, Python 3.5.

Regards,
Skyrider

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions