Skip to content

Issue with making a Denied Role. #2

Description

@BarterClub

It will not allow for a role to be set when in setup. Tried a few times seeing if i could get around this issue but no luck.

Traceback (most recent call last):
  File "lib\discord\ext\commands\bot.py", line 252, in _run_extra
    yield from coro(*args, **kwargs)
  File "C:\Users\sboyi\Documents\Discord bot\Anthem Bot\Red-DiscordBot\cogs\modmail.py", line 65, in on_message
    mothership = await self.bot.send_message(self.set_server, embed=embed)
  File "red.py", line 92, in send_message
    return await super().send_message(*args, **kwargs)
  File "lib\discord\client.py", line 1144, in send_message
    channel_id, guild_id = yield from self._resolve_destination(destination)
  File "lib\discord\client.py", line 289, in _resolve_destination
    raise InvalidArgument(fmt.format(destination))
discord.errors.InvalidArgument: Destination must be Channel, PrivateChannel, User, or Object. Received NoneType

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