Browse Source

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

tags/v1.7.0
Roxie Gibson 6 years ago
parent
commit
5bafccaf1f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      roxbot/load_config.py

+ 2
- 2
roxbot/load_config.py View File

@@ -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…
Cancel
Save