Documentation ¶
Overview ¶
Package admin defines administrative bot commands. This package is also used for the initial IRC login and channel joins.
Index ¶
Constants ¶
View Source
const ( // ref: https://godoc.org/time#Time.Format TextDateFormat = "2 January, 2006" TextTimeFormat = "15:04 MST" TextFloodName = "flood" TextFloodDisplay = "%s heeft de source code gelezen %d" TextFloodCount = "aantal" TextHelpName = "help" TextHelpAll = "Commando's (zie ook https://notabug.org/mouz/bot/wiki ):" TextHelpAdmins = "Commando's beschikbaar voor beheerders: !baas, !herstart, !join, !n00p, !nick, !ontbaas, !part." TextNickName = "nick" TextNickNickName = "naam" TextNickPassName = "wachtwoord" TextJoinName = "join" TextJoinChannelName = "kanaal" TextJoinKeyName = "sleutel" TextPartName = "part" TextPartChannelName = "kanaal" TextNoopName = "n00p" TextNoopChannelName = "kanaal" TextReloadName = "herstart" TextAuthListName = "bazen" TextAuthListDisplay = "De beheerder(s) is/zijn: %s" TextAuthorizeName = "baas" TextAuthorizeMaskName = "hostmask" TextAuthorizeDisplay = "Gebruiker %q is toegevoegd aan de beheerderslijst." TextVersionName = "versie" TextVersionDisplay = "" /* 186-byte string literal not displayed */ )
Variables ¶
View Source
var CommandsHelp = map[int]string{
1: "!bazen",
2: "!bier <wie>",
3: "!cola <wie>",
4: "!fris <wie>",
5: "!help",
6: "!joint <wie>",
7: "!knmi",
8: "!koffie <wie> / !kof <wie>",
9: "!peuk <wie>",
10: "!reminder_remove <code> / !rr <code>",
11: "!reminders / !rl",
12: "!reminder <tijd> <bericht> / !r <tijd> <bericht>",
13: "!reminder <tijd> / !r <tijd>",
14: "!thee <wie>",
15: "!versie",
16: "!weer <lokatie>",
17: "!wijn <wie>",
}
CommandsHelp is a complete list of available (non-admin) commands. It can be generated using listcommands.sh in the bot.wiki repository.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.