瀏覽代碼

fixed embed enum cause it was returning the object, not the value.

tags/v1.7.0
Roxie Gibson 6 年之前
父節點
當前提交
5bafccaf1f
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      roxbot/load_config.py

+ 2
- 2
roxbot/load_config.py 查看文件

@@ -1,4 +1,4 @@
from enum import Enum
from enum import IntEnum
import configparser


@@ -11,7 +11,7 @@ owner = int(settings["Roxbot"]["OwnerID"])
tat_token = settings["Roxbot"]["Tatsumaki_Token"]


class EmbedColours(Enum):
class EmbedColours(IntEnum):
pink = 0xDEADBF
yellow = 0xFDDF86
blue = 0x6F90F5

Loading…
取消
儲存