Commit 65989506 authored by Luna's avatar Luna 📟

channel.pins: ASC -> DESC on get_pins

parent 15b8ee1d
......@@ -17,7 +17,7 @@ async def get_pins(channel_id):
SELECT message_id
FROM channel_pins
WHERE channel_id = $1
ORDER BY message_id ASC
ORDER BY message_id DESC
""", channel_id)
ids = [r['message_id'] for r in ids]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment