Worldev / Granota

Multilingual IRC bot based on Willie
http://worldev.github.io/Granota/
Other
7 stars 6 forks source link

Change the command prefix on help commands #27

Closed NeoMahler closed 9 years ago

NeoMahler commented 9 years ago

When the command prefix is not the default (.), help.py still says that you have to write .commands instead of ,commands

JeDaYoshi commented 9 years ago

Done. I've fixed this. Now it should say the prefix.

NeoMahler commented 9 years ago

@JeDa , no, it does not work yet:

[16:26:48] -NeoMahler- ,help [16:26:49] -Granota- NeoMahler: Write .help (for example .help c) to get help about a command, or .commands to get a list of commands.

I changed temporary the prefix from "." to ","

NeoMahler commented 9 years ago

Update: it works with mikicatbot:

[16:58:15] -mikicat- .help [16:58:16] -Granota- mikicat: Write .help (for example .help c) to get help about a command, or .commands to get a list of commands. [16:58:16] -Mikicatbot- mikicat: Escriu .ajuda (per exemple .help c) per obtindre ajuda per una ordre, o .ordres per una llista d'ordres

probably I have to restart Granota. Anyway, it says the configuration variable "prefix", and because it is a regexp it can say things like .

NeoMahler commented 9 years ago

fixed!