Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch all channels instead of manually setting ID's #19

Open
connorhsm opened this issue Mar 13, 2020 · 0 comments
Open

Fetch all channels instead of manually setting ID's #19

connorhsm opened this issue Mar 13, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@connorhsm
Copy link
Member

Instead of setting channel ID's in a config file, fetch all channels at the initiaion of the bot and store relevant ones under a variable that can be imported across all extensions.
https://discordpy.readthedocs.io/en/latest/api.html#discord.Guild.fetch_channels

@connorhsm connorhsm added the enhancement New feature or request label Mar 13, 2020
@connorhsm connorhsm self-assigned this Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant