Browse Source

moved settings to config to represent it being part of the core bot rather than in the cogs.

tags/v1.4.0
roxie 6 years ago
parent
commit
ac4e64f55d
2 changed files with 3 additions and 1 deletions
  1. +0
    -0
      config/settings.py
  2. +3
    -1
      main.py

cogs/settings.py → config/settings.py View File


+ 3
- 1
main.py View File

server_config.error_check(bot.guilds) server_config.error_check(bot.guilds)
print("Discord.py version: " + discord.__version__) print("Discord.py version: " + discord.__version__)
print("Client logged in\n") print("Client logged in\n")
#bot.load_extension("err_handle")
#


#print("Cogs Loaded:") #print("Cogs Loaded:")
#for cog in load_config.cogs: #for cog in load_config.cogs:




if __name__ == "__main__": if __name__ == "__main__":
bot.load_extension("config/settings")
#bot.load_extension("err_handle")
bot.run(load_config.token) bot.run(load_config.token)

Loading…
Cancel
Save