瀏覽代碼

Looking closer to a finished cog, just without any of the checks and error handleing.

tags/v1.0.0
roxie 6 年之前
父節點
當前提交
214ab1173c
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. +4
    -0
      config/preference_example.ini
  2. +0
    -4
      config/preferences.ini
  3. +1
    -1
      main.py

+ 4
- 0
config/preference_example.ini 查看文件

@@ -0,0 +1,4 @@
[Roxbot]
OwnerID=142735312626515979
Token=TokenHere
Command_Prefix=r;

+ 0
- 4
config/preferences.ini 查看文件

@@ -1,4 +0,0 @@
[Roxbot]
OwnerID=142735312626515979
Token=MzA4MDc3ODg3MDYyNTQwMjg5.DH1aqg.lC3aQ8kV-dcJPZ63GQUwkWM_Oos
Command_Prefix=r;

+ 1
- 1
main.py 查看文件

@@ -28,7 +28,7 @@ async def on_ready():
for cog in load_config.cogslist:
bot.load_extension(cog)
print(cog)
# Testing Code
game = discord.Game(name="Rewriting Moi for v{}".format(load_config.version), type=0)
await bot.change_presence(game=game)

Loading…
取消
儲存