소스 검색

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

tags/v1.4.0
roxie 6 년 전
부모
커밋
ac4e64f55d
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +0
    -0
      config/settings.py
  2. +3
    -1
      main.py

cogs/settings.py → config/settings.py 파일 보기


+ 3
- 1
main.py 파일 보기

@@ -45,7 +45,7 @@ async def on_ready():
server_config.error_check(bot.guilds)
print("Discord.py version: " + discord.__version__)
print("Client logged in\n")
#bot.load_extension("err_handle")
#

#print("Cogs Loaded:")
#for cog in load_config.cogs:
@@ -109,4 +109,6 @@ async def about(ctx):


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

Loading…
취소
저장