-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.go
54 lines (49 loc) · 1.95 KB
/
const.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package main
// commandRegexp defining commands that could be sent to IRC bot
const commandRegexp string = `^@(\?|v\?|V\?|d\?|e\?|g\?|b\?|l(\?|e\?|t\?)|s\?|u(\?|\+\?))\s*\S+`
// welcomeMessage contains greeting which is sent on /start and /help commands
const welcomeMessage string = `This is a bot to query NetHack monsters stats.
Available monster query commands are:
@?[monster] or @v?[monster]: NetHack 3.7
@V?[monster]: NetHack 3.4.3 / 3.6.x
@d?[monster]: dNetHack
@e?[monster]: EvilHack
@g?[monster]: GruntHack
@b?[monster]: NetHack Brass
@l?[monster]: Slash’EM
@le?[monster]: Slash’EM Extended
@lt?[monster]: SlashTHEM
@s?[monster]: SporkHack
@u?[monster]: UnNetHack
@u+?[monster]: UnNetHackPlus
Other commands are:
!lastgame [variant] [player] – display link to dumplog of last game ended.
!asc [player] [variant] – listing of all ascended games for a particular player (all variants or specified).
!lastasc [variant] [player] – dumplog for last ascended game.
!whereis [player] – shows variant and location within the game of the specified player.
!streak [player] – shows how many games a player has won in a row without dying.
!role [variant] – suggest a role for specified variant, or a variant and role.
!race [variant] – as above, for race.
!scores or !sb – provides you with a link to the Hardfought scoreboard of all variants hosted.
!players or !who – displays a list of all players currently online and which variant they are playing.
!pom - display current phase of moon.
Where commands take the name of a variant, the following aliases are accepted:
nh343: nh343 nethack 343
nh363: nh363 363 363-hdf
nh370: nh370 370 370-hdf
nh13d: nh13d 13d
gh: grunt grunthack
un: unnethack unh
fh: fiqhack
4k: nhfourk nhf fourk
dnh: dnethack dn
dyn: dynahack dyn
nh4: nethack4 n4
sp: sporkhack spork
slex: slex
xnh: xnethack xnh
spl: splicehack spl
slshm: slashem slshm
ndnh: notdnethack ndnh
evil: evilhack evil
slth: slashthem slth`