Nutze /randoms statt /random um Konflikt zu vermeiden

This commit is contained in:
Akamaru 2016-09-03 00:50:55 +02:00
parent b593e79a05
commit 1b39e2c250

View File

@ -1,12 +1,12 @@
local fun = {} local fun = {}
function fun:init(config) function fun:init(config)
fun.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('random', true).table fun.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('randoms', true).table
fun.doc = [[* fun.doc = [[*
]]..config.cmd_pat..[[random* _<Username>_: Schau, was passiert!]] ]]..config.cmd_pat..[[randoms* _<Username>_: Schau, was passiert!]]
end end
fun.command = 'random <Username>' fun.command = 'randoms <Username>'
function fun:choose_random(user_name, other_user) function fun:choose_random(user_name, other_user)
randoms = { randoms = {