coding style updates

fight-fixes
Bobloy 7 years ago
parent b5c2d3d10b
commit 8280f6fba8

@ -1,22 +1,8 @@
from .fight import Fight from .fight import Fight
# def check_folders():
# if not os.path.exists("data/Fox-Cogs"):
# print("Creating data/Fox-Cogs folder...")
# os.makedirs("data/Fox-Cogs")
# if not os.path.exists("data/Fox-Cogs/fight"):
# print("Creating data/Fox-Cogs/fight folder...")
# os.makedirs("data/Fox-Cogs/fight")
# def check_files():
# if not dataIO.is_valid_json("data/Fox-Cogs/fight/fight.json"):
# dataIO.save_json("data/Fox-Cogs/fight/fight.json", {})
def setup(bot): def setup(bot):
# check_folders() # check_folders()
# check_files() # check_files()
n = Fight(bot) n = Fight(bot)
bot.add_cog(n) bot.add_cog(n)

File diff suppressed because it is too large Load Diff

@ -1,10 +1,25 @@
{ {
"author" : ["Bobloy"], "author": [
"bot_version" : [3,0,0], "Bobloy"
"description" : "[Incomplete] Cog to organize tournaments within Discord", ],
"hidden" : false, "bot_version": [
"install_msg" : "Thank you for installing Fight. Run with [p]fight or [p]fightset", 3,
"requirements" : [], 0,
"short" : "[Incomplete] Cog to organize tournaments", 0
"tags" : ["game", "fun", "fight", "tournament", "tourney", "elimination", "bracket", "bobloy"] ],
"description": "[Incomplete] Cog to organize tournaments within Discord",
"hidden": false,
"install_msg": "Thank you for installing Fight. Run with [p]fight or [p]fightset",
"requirements": [],
"short": "[Incomplete] Cog to organize tournaments",
"tags": [
"game",
"fun",
"fight",
"tournament",
"tourney",
"elimination",
"bracket",
"bobloy"
]
} }
Loading…
Cancel
Save