Seeeeehr großes Update
Meiste Änderungen von Brawl345/Brawlbot-v2 Einige Pattern angepasst Einiges übersetzt Und noch einiges mehr Stabilitätsverbesserungen
This commit is contained in:
@ -1,21 +1,17 @@
|
||||
local mal = {}
|
||||
|
||||
local http = require('socket.http')
|
||||
local URL = require('socket.url')
|
||||
local xml = require("xml")
|
||||
local utilities = require('miku.utilities')
|
||||
local bindings = require('miku.bindings')
|
||||
local xml = require("xml")
|
||||
|
||||
mal.command = 'anime <Anime>, /manga <Manga>'
|
||||
|
||||
function mal:init(config)
|
||||
if not cred_data.mal_username then
|
||||
print('Missing config value: mal_username.')
|
||||
print('myanimelist.lua will not be enabled.')
|
||||
print('Fehlender Key: mal_username.')
|
||||
print('myanimelist.lua wird nicht aktiviert.')
|
||||
return
|
||||
elseif not cred_data.mal_pw then
|
||||
print('Missing config value: mal_pw.')
|
||||
print('myanimelist.lua will not be enabled.')
|
||||
print('Fehlender Key: mal_pw.')
|
||||
print('myanimelist.lua wird nicht aktiviert.')
|
||||
return
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user