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