Skip to content

Commit dafc833

Browse files
seratchmisscoded
andcommitted
Apply suggestions from code review
Co-authored-by: Alissa Renz <[email protected]>
1 parent 4044d5a commit dafc833

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

slack_bolt/logger/messages.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def warning_client_prioritized_and_token_skipped() -> str:
6969

7070
def warning_token_skipped() -> str:
7171
return (
72-
"As either `installation_store` or `authorize` is enabled, "
73-
"`token` (or SLACK_BOT_TOKEN env variable) will be unused."
72+
"As `installation_store` or `authorize` has been used, "
73+
"`token` (or SLACK_BOT_TOKEN env variable) will be ignored."
7474
)
7575

7676

@@ -108,10 +108,10 @@ def warning_skip_uncommon_arg_name(arg_name: str) -> str:
108108
def info_default_oauth_settings_loaded() -> str:
109109
return (
110110
"As you've set SLACK_CLIENT_ID and SLACK_CLIENT_SECRET env variables, "
111-
"Bolt enabled file-based InstallationStore/OAuthStateStore for you. "
112-
"Note that the file based ones are for local development. "
113-
"If you want to use a different datastore, set oauth_settings argument in App constructor. "
114-
"Refer to https://slack.dev/bolt-python/concepts#authenticating-oauth for more details."
111+
"Bolt has enabled the file-based InstallationStore/OAuthStateStore for you. "
112+
"Note that these file-based stores are for local development. "
113+
"If you'd like to use a different data store, set the oauth_settings argument in the App constructor. "
114+
"Please refer to https://slack.dev/bolt-python/concepts#authenticating-oauth for more details."
115115
)
116116

117117

0 commit comments

Comments
 (0)