.BANCHO. Add code for !update FokaBot command

This commit is contained in:
Nyo
2016-10-15 23:21:17 +02:00
parent 90dfb2c705
commit a48aa73a0b
2 changed files with 45 additions and 0 deletions

View File

@@ -44,6 +44,9 @@ class config:
self.config.get("server","cikey")
self.config.get("server","cloudflare")
self.config.get("mirror","apiurl")
self.config.get("mirror","apikey")
self.config.get("debug","enable")
self.config.get("debug","packets")
self.config.get("debug","time")
@@ -93,6 +96,10 @@ class config:
self.config.set("server", "cikey", "changeme")
self.config.set("server", "cloudflare", "0")
self.config.add_section("mirror")
self.config.set("mirror", "apiurl", "http://storage.ripple.moe")
self.config.set("mirror", "apikey", "anotherkey")
self.config.add_section("debug")
self.config.set("debug", "enable", "0")
self.config.set("debug", "packets", "0")