Enhancement: Dynamic channel listening #2

Open
opened 2025-10-24 08:50:53 -06:00 by blizzardfinnegan · 1 comment

Instead of individual environment variables for each channel ID, consider using a single environment variable [i.e. CHANNELS], containing a comma/whitespace/semicolon separated values.
Channel name can be retrieved in discord.py by accessing the GuildChannel's name attribute, so the feeds can be named appropriately still. (Group DMs, called GroupChannel in the API, also have this attribute.)

Instead of individual environment variables for each channel ID, consider using a single environment variable [i.e. `CHANNELS`], containing a comma/whitespace/semicolon separated values. Channel name can be retrieved in discord.py by accessing the GuildChannel's `name` attribute, so the feeds can be named appropriately still. (Group DMs, called GroupChannel in the API, also have this attribute.)
Author
Owner
Discord channel description api endpoint: https://discordpy.readthedocs.io/en/stable/api.html#discord.TextChannel.topic
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Menagerie/RSScord#2
No description provided.