Skip to content

Commit

Permalink
feat: add /start command
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias committed Mar 4, 2024
1 parent cd30206 commit 6f6e8be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions telegram.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func initTelegramBot() {
message := "Rifiutato da " + c.Sender.Username
Bot.Reply(c.Message, message)
})

Bot.Handle("/start", func(m *telebot.Message) {
Bot.Send(m.Sender, "Ciao! 👋 \n\n Sei in cerca di sviluppatori ed esperti del mondo IT? Invia la tua proposta e raggiungi studenti, laureandi e neolaureati del Dipartimento di Matematica e Informatica dell'Università degli Studi di Catania. \n\n https://open-job-dmi.unictdev.org/")
})
}

func startTelegramBot() {
Expand Down

0 comments on commit 6f6e8be

Please sign in to comment.