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

[v9] Fix meaning of bot_name in bot join tokens (#11039) #11047

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

timothyb89
Copy link
Contributor

Backport of #11039 for branch/v9


The BotName / bot_name was previously used to refer to the bot
username rather than the bot name as entered by users. This leads
to confusion as the username is an implemention detail not obviously
visible to users.

This changes the meaning of the bot_name parameter to instead
consistently accept a bot name, which is converted to a username on
the backend where needed.

The `BotName` / `bot_name` was previously used to refer to the bot
_username_ rather than the bot name as entered by users. This leads
to confusion as the username is an implemention detail not obviously
visible to users.

This changes the meaning of the `bot_name` parameter to instead
consistently accept a bot name, which is converted to a username on
the backend where needed.
@timothyb89 timothyb89 changed the title Fix meaning of bot_name in bot join tokens (#11039) [v9] Fix meaning of bot_name in bot join tokens (#11039) Mar 10, 2022
@timothyb89 timothyb89 enabled auto-merge (squash) March 10, 2022 22:53
@timothyb89 timothyb89 merged commit 1cf59bd into branch/v9 Mar 10, 2022
@timothyb89 timothyb89 deleted the timothyb89/v9/fix-token-bot-name branch March 10, 2022 23:04
@webvictim webvictim mentioned this pull request Apr 19, 2022
@webvictim webvictim mentioned this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants