#๐Ÿ”’ Discord.py help with cogs

8 messages ยท Page 1 of 1 (latest)

unique minnow
#

You know how you can do bot.add_cog(cog_class, guild=bot.get_guild(GUILD ID))?
Well, I want to get the cogs for each guild.
Meaning that one server might have cog A and B, but another might have B and C. I want to know which servers have which cogs added.

light tokenBOT
#

@unique minnow

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

rare patio
#

im pretty sure discord.py (and its forks like nextcord) does not provide a built-in way to directly query which cogs are loaded for a specific guild.

unique minnow
#

Dang, alright

#

!close

light tokenBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.