forked from git.klmp200.net/ALFRED
Add git and framapad commands
This commit is contained in:
parent
5794a01a83
commit
8a9592ad27
10
alfred.go
10
alfred.go
@ -2,7 +2,7 @@
|
||||
* @Author: Bartuccio Antoine
|
||||
* @Date: 2018-07-23 15:24:22
|
||||
* @Last Modified by: klmp200
|
||||
* @Last Modified time: 2018-07-24 02:33:57
|
||||
* @Last Modified time: 2018-07-24 03:05:51
|
||||
*/
|
||||
|
||||
package main
|
||||
@ -55,6 +55,14 @@ func main() {
|
||||
|
||||
})
|
||||
|
||||
b.Handle("/git", func(m *tb.Message) {
|
||||
b.Send(m.Chat, "Mon code est accessible librement à l'adresse https://git.klmp200.net/ALFRED/ALFRED. Venez contribuer :)")
|
||||
})
|
||||
|
||||
b.Handle("/framapad", func(m *tb.Message) {
|
||||
b.Send(m.Chat, "Venez participer à mon développement en posant vos idées ici : https://mensuel.framapad.org/p/ALFRED2LERETOUR.")
|
||||
})
|
||||
|
||||
log.Println("Starting bot")
|
||||
b.Start()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user