Added config for public channel

dev
pocketjawa 2017-03-19 02:18:50 -04:00
parent 639f29e146
commit 8816876e54
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ token:
#Channel IDs #Channel IDs
bot_channel_id: bot_channel_id:
public_channel_id:
#User and Group IDs #User and Group IDs
owner_id: owner_id:

View File

@ -13,6 +13,7 @@ config.read("/srv/discord-pocketbot/config.cfg")
token = config.get("configuration", "token") token = config.get("configuration", "token")
bot_channel_id = discord.Object(id=config.get("configuration", "bot_channel_id")) bot_channel_id = discord.Object(id=config.get("configuration", "bot_channel_id"))
public_channel_id = discord.Object(id=config.get("configuration", "public_channel_id"))
owner_id = discord.User(id=config.get("configuration", "owner_id")) owner_id = discord.User(id=config.get("configuration", "owner_id"))
#Reddit Setup #Reddit Setup