Fixe dp_nsfw Pattern und Hilfe

This commit is contained in:
Andreas Bielawski 2016-09-04 13:22:18 +02:00
parent 1b39e2c250
commit c5a1fca269

View File

@ -6,9 +6,9 @@ function derpibooru_nsfw:init(config)
print('derpibooru_nsfw.lua wird nicht aktiviert.') print('derpibooru_nsfw.lua wird nicht aktiviert.')
return return
end end
derpibooru_nsfw.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('dp_nsfw', true):t('derpibooru_nsfw', true).table derpibooru_nsfw.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('dpnsfw', true):t('derpiboorunsfw', true).table
derpibooru_nsfw.doc = [[* derpibooru_nsfw.doc = [[*
]]..config.cmd_pat..[[dp_nsfw* _<Tags>_: Sucht auf Derpibooru mit diesen Tags (NSFW)]] ]]..config.cmd_pat..[[dpnsfw* _<Tags>_: Sucht auf Derpibooru mit diesen Tags (NSFW)]]
end end
derpibooru_nsfw.command = 'dp_nsfw <Tags>' derpibooru_nsfw.command = 'dp_nsfw <Tags>'