aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-04-06 17:32:57 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2020-04-06 17:32:57 +0200
commitae49def47a2f956b93c814993b8f380b5182c6b7 (patch)
tree157dd171df0898d5438e46c5ed1dd76d2569e98a /tests
parentAdd channel status emoji to help channels (diff)
Change bottom sorting strategy to using a large int
The current approach of trying to find the maximum channel position, adding one, and using that as the position integer for channels does not seem to work reliably. An approach that seems to work in the testing environment is using a very large integer for the position attribute of the channel: It wil be sorted at the bottom and Discord will automatically scale the integer down to `max + 1`. This also means the `get_position` utility function is no longer needed; it has been removed.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions