mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 00:47:44 +00:00
Fix channel_perm_tree
This commit is contained in:
parent
300de3f3b2
commit
f8fb752553
1 changed files with 2 additions and 2 deletions
|
@ -51,8 +51,8 @@ class Utils(Cog):
|
|||
string = []
|
||||
|
||||
for channel in ctx.guild.channels:
|
||||
# Only root level categories.
|
||||
if hasattr(channel, "category") or channel.category is not None:
|
||||
# Only root level channels.
|
||||
if getattr(channel, "category", False):
|
||||
continue
|
||||
|
||||
if isinstance(channel, CategoryChannel):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue