forked from git.klmp200.net/ALFRED
Merge branch 'features' of ALFRED/ALFRED into master
This commit is contained in:
commit
99a6cd2a14
10
alfred.go
10
alfred.go
@ -2,7 +2,7 @@
|
|||||||
* @Author: Bartuccio Antoine
|
* @Author: Bartuccio Antoine
|
||||||
* @Date: 2018-07-23 15:24:22
|
* @Date: 2018-07-23 15:24:22
|
||||||
* @Last Modified by: klmp200
|
* @Last Modified by: klmp200
|
||||||
* @Last Modified time: 2018-07-24 02:33:57
|
* @Last Modified time: 2018-07-24 03:05:51
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package main
|
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")
|
log.Println("Starting bot")
|
||||||
b.Start()
|
b.Start()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user