mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
Add support for accessing config by ids (#3022)
* Add support for accessing config by ids * update-changelog with methods
This commit is contained in:
9
changelog.d/2804.feature.1.rst
Normal file
9
changelog.d/2804.feature.1.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
Adds methods to Config for accessing things by id without mocked objects
|
||||
|
||||
- Config.guild_from_id
|
||||
- Config.user_from_id
|
||||
- Config.role_from_id
|
||||
- Config.channel_from_id
|
||||
- Config.member_from_ids
|
||||
- This one requires multiple ids, one for the guild, one for the user
|
||||
- Consequence of discord's object model
|
||||
Reference in New Issue
Block a user