Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[roleboard] Custom Server Emojis does not work #47

Open
jasperdanan opened this issue Jan 24, 2018 · 0 comments
Open

[roleboard] Custom Server Emojis does not work #47

jasperdanan opened this issue Jan 24, 2018 · 0 comments

Comments

@jasperdanan
Copy link
Contributor

Traceback Error:

Exception in command 'rolecall add'
Traceback (most recent call last):
  File "/home/pi/red-discordbot/cogs/rolecall.py", line 170, in rolecall_add
    await self.post_role(entry)
  File "/home/pi/red-discordbot/cogs/rolecall.py", line 203, in post_role
    await self.bot.add_reaction(msg, entry.emoji)
  File "lib/discord/client.py", line 955, in add_reaction
    yield from self.http.add_reaction(message.id, message.channel.id, emoji)
  File "lib/discord/http.py", line 200, in request
    raise HTTPException(r, data)
discord.errors.HTTPException: BAD REQUEST (status code: 400): Unknown Emoji

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lib/discord/ext/commands/core.py", line 50, in wrapped
    ret = yield from coro(*args, **kwargs)
  File "/home/pi/red-discordbot/cogs/rolecall.py", line 172, in rolecall_add
    msg = await self.post_entry(entry)
  File "/home/pi/red-discordbot/cogs/rolecall.py", line 196, in post_entry
    await self.bot.add_reaction(msg, entry.emoji)
  File "lib/discord/client.py", line 955, in add_reaction
    yield from self.http.add_reaction(message.id, message.channel.id, emoji)
  File "lib/discord/http.py", line 200, in request
    raise HTTPException(r, data)
discord.errors.HTTPException: BAD REQUEST (status code: 400): Unknown Emoji

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "lib/discord/ext/commands/bot.py", line 846, in process_commands
    yield from command.invoke(ctx)
  File "lib/discord/ext/commands/core.py", line 634, in invoke
    yield from ctx.invoked_subcommand.invoke(ctx)
  File "lib/discord/ext/commands/core.py", line 374, in invoke
    yield from injected(*ctx.args, **ctx.kwargs)
  File "lib/discord/ext/commands/core.py", line 54, in wrapped
    raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPException: BAD REQUEST (status code: 400): Unknown Emoji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant