Discord connect fix#6389
Conversation
|
Hello @Deinara, When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es). The commits that are missing a linked GitHub account are the following:
Unfortunately, we are unable to accept this pull request until this situation is corrected. Here are your options:
We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community. Thanks, I look forward to checking this PR again soon! ❤️ |
|
Added the email used for the commits to my account to resolve the cla-error |
|
Could anyone provide me any guidance on the "Unused variable 'on_ready'"-error? |
balloob
left a comment
There was a problem hiding this comment.
Linter complaints because the defined function on_ready is not being used. Unless it is automatically registered by applying the annotation @discord_bot.event. If that is the case, add # pylint: disable=unused-variable above it.
| yield from discord_bot.send_message(channel, message) | ||
|
|
||
| yield from discord_bot.logout() | ||
| yield from discord_bot.close() |
|
The following is taken from the API reference:
After thinking about it, this indicated to me The |
|
Hello @Deinara, When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es). The commits that are missing a linked GitHub account are the following:
Unfortunately, we are unable to accept this pull request until this situation is corrected. Here are your options:
We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community. Thanks, I look forward to checking this PR again soon! ❤️ |
There was a problem hiding this comment.
block comment should start with '# '
| yield from discord_bot.close() | ||
| @discord_bot.event | ||
| @asyncio.coroutine | ||
| def on_ready(): # pylint: disable=unused-variable |
There was a problem hiding this comment.
at least two spaces before inline comment
|
To recap: |
|
Thanks! 🐬 🍪 💯 |
Description:
Sorry that this has taken so long for me to create a pull request for, but this has cost me several nights of messing around.
Related issue (if applicable): fixes #5688
Pull request in home-assistant.github.io with documentation (if applicable):
Not applicable - same as original
Example entry for
configuration.yaml(if applicable):Not applicable - same as original
Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
toxrun successfully. Your PR cannot be merged unless tests passREQUIREMENTSvariable (example). --No changes--requirements_all.txtby runningscript/gen_requirements_all.py. --No changes--.coveragerc. --No changes--