Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cake-bot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Oleksandr Barabash
cake-bot
Commits
709ae691
Commit
709ae691
authored
Dec 05, 2022
by
Oleksandr Barabash
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new lines added to the responses
portal command fixed
parent
c168f88d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
en.yml
assets/strings/en.yml
+9
-9
messaging_extension_action_preview_bot.py
bots/messaging_extension_action_preview_bot.py
+1
-1
No files found.
assets/strings/en.yml
View file @
709ae691
en
:
hi_message
:
|
Hi %{name}!
Thank you for installing %{bot_name}.
Hi %{name}!
\r\n
Thank you for installing %{bot_name}.
\r\n
Use '%{cmd_help}' command for more info.
greetings_message
:
|
Greetings, new users!
Thank you for installing %{bot_name}.
Greetings, new users!
\r\n
Thank you for installing %{bot_name}.
\r\n
Use '%{cmd_help}' command for more info.
tenant_forbidden
:
|
...
...
@@ -24,12 +24,12 @@ en:
portal_button_text
:
Open secured portal
response_help
:
|
Conversation ID: %{conversation_id}.
Tenant ID: %{tenant_id}
Supported commands:
%{cmd_help} - this command
Conversation ID: %{conversation_id}.
\r\n
Tenant ID: %{tenant_id}
.\r\n\r\n
Supported commands:
\r\n
%{cmd_help} - this command
.\r\n
%{cmd_portal} - request secured portal window.
response_unknown_cmd
:
|
Unknown command received.
Unknown command received.
\r\n
Use '%{cmd_help}' command for more info.
bots/messaging_extension_action_preview_bot.py
View file @
709ae691
...
...
@@ -211,7 +211,7 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
message
=
turn_context
.
activity
.
text
.
strip
()
.
lower
()
cmd_help
=
i18n
.
t
(
"cmd_help"
)
cmd_portal
=
i18n
.
t
(
"cmd_
help
"
)
cmd_portal
=
i18n
.
t
(
"cmd_
portal
"
)
if
message
==
cmd_help
.
lower
():
tenant_id
=
turn_context
.
activity
.
conversation
.
tenant_id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment