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

[V3 Core] Set nickname not changing #1493

Closed
1 of 2 tasks
TheWyn opened this issue Apr 3, 2018 · 3 comments · Fixed by #1494
Closed
1 of 2 tasks

[V3 Core] Set nickname not changing #1493

TheWyn opened this issue Apr 3, 2018 · 3 comments · Fixed by #1494
Assignees

Comments

@TheWyn
Copy link
Contributor

TheWyn commented Apr 3, 2018

Please be sure to read through other issues as well to make sure what you are suggesting/reporting has not already
been suggested/reported

Type:

  • Suggestion
  • Bug

Brief description of the problem

On 3.0.0b11, when using [p]set nickname Test, the bot's nickname doesn't change to Test. Running Red in debug mode doesn't show any error's.

When using [p]set by itself, it outputs the following error:

@palmtree5 palmtree5 added the V3 label Apr 3, 2018
@palmtree5 palmtree5 self-assigned this Apr 3, 2018
@palmtree5
Copy link
Member

ya, both issues confirmed. Will fix for next release

@TheWyn
Copy link
Contributor Author

TheWyn commented Apr 3, 2018

Adding onto this bug if a [p]set sub-command is entered incorrectly a trace is given instead of the content of [p]help set.

Trigger this by doing [p]set nick test (nickname is correct command) and receive following as trace:

Exception in command 'set'
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/discord/ext/commands/core.py", line 62, in wrapped
    ret = yield from coro(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/redbot/core/core_commands.py", line 544, in _set
    admin_role.name, mod_role.name, locale
AttributeError: 'NoneType' object has no attribute 'name'

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

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 886, in invoke
    yield from ctx.command.invoke(ctx)
  File "/usr/lib/python3.6/site-packages/discord/ext/commands/core.py", line 923, in invoke
    yield from injected(*ctx.args, **ctx.kwargs)
  File "/usr/lib/python3.6/site-packages/discord/ext/commands/core.py", line 71, in wrapped
    raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'name'

@Kowlin
Copy link
Member

Kowlin commented Apr 4, 2018

Fixed in #1494

@Kowlin Kowlin closed this as completed Apr 4, 2018
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

Successfully merging a pull request may close this issue.

3 participants