diff --git a/plugins/regular.py b/plugins/regular.py index ccfba87..f8d1d15 100644 --- a/plugins/regular.py +++ b/plugins/regular.py @@ -13,13 +13,13 @@ from util import hook -@hook.command +@hook.command('re') def reg(bot, input): - ".reg -- matches regular expression in given (seperate regex and string by 2 spaces)" + ".re -- matches regular expression in given (seperate regex and string by 2 spaces)" m = "" - if len(input.msg) < 4: + if len(input.msg) < 3: return reg.__doc__ query = input.inp.partition(" ")