M .gitignore => .gitignore +1 -1
@@ 1,3 1,3 @@
glenda
cfg/
-
+*.log
M mux.go => mux.go +1 -1
@@ 32,7 32,7 @@ func init() {
Router.Route("sig", "Search for function definitions in the Plan 9 manual pages (From 9front for now).", Router.Sig)
- Router.Route("fortune", "Display fortunes. Bonus files are (theo troll rsc terry rob ken henesy).", Router.Fortunes)
+ Router.Route("fortune", "Display fortunes. Bonus files are (theo troll rsc terry rob ken henesy davros).", Router.Fortunes)
Router.Route("bullshit", "Print logical statements with sound grounding.", Router.Bullshit)
M x/mux/fortunes.go => x/mux/fortunes.go +2 -0
@@ 29,6 29,8 @@ func (m *Mux) Fortunes(ds *discordgo.Session, dm *discordgo.Message, ctx *Contex
f = "ken"
} else if strings.Contains(dm.Content, "henesy") {
f = "henesy"
+ } else if strings.Contains(dm.Content, "davros") {
+ f = "davros"
} else {
f = "../sys/games/lib/fortunes"
}