Skip to content

Commit 7242fb9

Browse files
committed
Fix pynews config in example file
The python news cog relies on the python_news section of the config being filled in via a named alias. Since we were using the DEV_ prefix, this meant it was not being populated, leading to the cog throwing an error on boot.
1 parent c38d05a commit 7242fb9

File tree

1 file changed

+5
-1
lines changed
  • pydis_site/apps/content/resources/guides/pydis-guides/contributing

1 file changed

+5
-1
lines changed

pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ style:
350350

351351
trashcan: "<:trashcan:�>"
352352

353-
##### << Optional - If you don't care about the filtering and help channel cogs, ignore the rest of this file >> #####
353+
##### << Optional - If you don't care about the filtering, help channel and py-news cogs, ignore the rest of this file >> #####
354354
filter:
355355
# What do we filter?
356356
filter_domains: true
@@ -426,6 +426,10 @@ help_channels:
426426
notify_roles:
427427
- *HELPERS_ROLE
428428

429+
python_news:
430+
channel: *DEV_PY_NEWS
431+
webhook: *PYNEWS_WEBHOOK
432+
429433
##### << Add any additional sections you need to override from config-default.yml >> #####
430434
</code>
431435
</pre>

0 commit comments

Comments
 (0)