Added int casting to IDs
This commit is contained in:
parent
5f2c80e701
commit
f1f03eda56
1 changed files with 10 additions and 10 deletions
20
main.py
20
main.py
|
@ -16,16 +16,16 @@ tree = app_commands.CommandTree(client)
|
||||||
|
|
||||||
queue = []
|
queue = []
|
||||||
|
|
||||||
guildID = os.environ['GUILD_ID']
|
guildID = int(os.environ['GUILD_ID'])
|
||||||
botID = os.environ['BOT_ID']
|
botID = int(os.environ['BOT_ID'])
|
||||||
magicForum = os.environ['MAGIC_ITEM_FORUM']
|
magicForum = int(os.environ['MAGIC_ITEM_FORUM'])
|
||||||
raceForum = os.environ['RACE_FORUM']
|
raceForum = int(os.environ['RACE_FORUM'])
|
||||||
subclassForum = os.environ['SUBCLASS_FORUM']
|
subclassForum = int(os.environ['SUBCLASS_FORUM'])
|
||||||
locationForum = os.environ['LOCATION_FORUM']
|
locationForum = int(os.environ['LOCATION_FORUM'])
|
||||||
monsterForum = os.environ['MONSTER_FORUM']
|
monsterForum = int(os.environ['MONSTER_FORUM'])
|
||||||
npcForum = os.environ['NPC_FORUM']
|
npcForum = int(os.environ['NPC_FORUM'])
|
||||||
otherForum = os.environ['OTHER_FORUM']
|
otherForum = int(os.environ['OTHER_FORUM'])
|
||||||
logChannel = os.environ['LOG_CHANNEL']
|
logChannel = int(os.environ['LOG_CHANNEL'])
|
||||||
autogen = True if os.environ['AUTOGEN'] == 'true' else False
|
autogen = True if os.environ['AUTOGEN'] == 'true' else False
|
||||||
|
|
||||||
@client.event
|
@client.event
|
||||||
|
|
Loading…
Reference in a new issue