Skip to content

Commit

Permalink
update maishapay_whatsapp_chatbot.go, start_scene.go and strings.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMonga committed Oct 11, 2024
1 parent 97ef126 commit 9b0dff0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/maishapay_whatsapp_chatbot.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ func main() {

bot.StartReceivingNotifications()

log.Fatal(http.ListenAndServe(fmt.Sprintf(":%v", 3002), nil))
http.ListenAndServe(fmt.Sprintf(":%v", os.Getenv("PORT")), nil)
}
1 change: 0 additions & 1 deletion scenes/start_scene.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ func (s StartScene) Start(bot *chatbot.Bot) {
bot.IncomingMessageHandler(func(message *chatbot.Notification) {
util.IsSessionExpired(message)

message.SendText(util.GetString([]string{"welcome_message"}))
message.SendText(util.GetString([]string{"select_language"}))
message.ActivateNextScene(MainMenuScene{})
})
Expand Down
2 changes: 1 addition & 1 deletion strings/strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ specify_language: "Please choose a language for further conversation\n*1* - Engl
please_use_text: "Please enter a text message for further conversation with bot\n"
welcome_message:
ru: "Добро пожаловать в GREEN API чат-бот, "
en: "Hey Salut,\nJe suis MaishaPay AI. Obtenez mon assistance pour les services de paiement et d’informations.\nCi-dessous, vous trouverez le lien vers les termes et conditions d’utilisation de MaishaPay AI : https://maishapay.net/terms\nChoisisez la langue que voulez-vous utiliser."
en: "Hey Salut,\nJe suis MaishaPay AI. Obtenez mon assistance pour les services de paiement et d’informations.\nCi-dessous, vous trouverez le lien vers les termes et conditions d’utilisation de MaishaPay AI : https://maishapay.net/terms."
he: "ברוכים הבאים לצ'אטבוט GREEN API, "
es: "Bienvenido al chatbot GREEN API, "
ar: ""
Expand Down

0 comments on commit 9b0dff0

Please sign in to comment.