aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-04-08 19:08:50 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2020-04-08 19:11:09 +0200
commit12c80fb664e612a2319dfde7d341737159934e9c (patch)
treef099953d23481b37fd2505553b127ce1d7c9d145
parentMerge pull request #873 from python-discord/mitigate-permission-unsynchroniza... (diff)
Stop setting positions when moving help channels
Unfortunately, trying to set positions for the help channels during their move from one category to another does not work to well. It introduces a number of glitches and we haven't been able to reliably get a channel to go to a specific position either. This commit simply removes any attempt to set a position and lets Discord handle it.
-rw-r--r--bot/cogs/help_channels.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index 697a4d3b7..797019f69 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -442,7 +442,6 @@ class HelpChannels(Scheduler, commands.Cog):
category=self.dormant_category,
sync_permissions=True,
topic=DORMANT_TOPIC,
- position=10000,
)
log.trace(f"Position of #{channel} ({channel.id}) is actually {channel.position}.")
@@ -463,7 +462,6 @@ class HelpChannels(Scheduler, commands.Cog):
category=self.in_use_category,
sync_permissions=True,
topic=IN_USE_TOPIC,
- position=10000,
)
timeout = constants.HelpChannels.idle_minutes * 60