From 8816876e54440de2f3e5e730c0398369038e0af9 Mon Sep 17 00:00:00 2001 From: pocketjawa Date: Sun, 19 Mar 2017 02:18:50 -0400 Subject: [PATCH] Added config for public channel --- example_config.cfg | 1 + pocketbot.py | 1 + 2 files changed, 2 insertions(+) diff --git a/example_config.cfg b/example_config.cfg index 5977be0..af379a3 100644 --- a/example_config.cfg +++ b/example_config.cfg @@ -8,6 +8,7 @@ token: #Channel IDs bot_channel_id: +public_channel_id: #User and Group IDs owner_id: diff --git a/pocketbot.py b/pocketbot.py index 299c8ca..96ab94d 100644 --- a/pocketbot.py +++ b/pocketbot.py @@ -13,6 +13,7 @@ config.read("/srv/discord-pocketbot/config.cfg") token = config.get("configuration", "token") 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")) #Reddit Setup