otouto v3.12
Minor changes across the board. More planned. I also may have accidentally screwed with access permissions (so looks like every file is marked modified). Moved drua-tg.lua into the otouto/ directory. Added pokego-calculator.lua plugin (similar to pidgeycalc.com).
This commit is contained in:
6
otouto/plugins/dice.lua
Executable file → Normal file
6
otouto/plugins/dice.lua
Executable file → Normal file
@ -6,10 +6,8 @@ dice.command = 'roll <nDr>'
|
||||
|
||||
function dice:init(config)
|
||||
dice.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('roll', true).table
|
||||
dice.doc = [[```
|
||||
]]..config.cmd_pat..[[roll <nDr>
|
||||
Returns a set of dice rolls, where n is the number of rolls and r is the range. If only a range is given, returns only one roll.
|
||||
```]]
|
||||
dice.doc = config.cmd_pat .. [[roll <nDr>
|
||||
Returns a set of dice rolls, where n is the number of rolls and r is the range. If only a range is given, returns only one roll.]]
|
||||
end
|
||||
|
||||
function dice:action(msg)
|
||||
|
Reference in New Issue
Block a user