mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-10 10:43:06 +00:00
Added code coments, refactored db.ts and redis.ts, and added two new commands
This commit is contained in:
parent
b3fbd2358b
commit
890ca26c78
30 changed files with 1899 additions and 462 deletions
|
@ -19,7 +19,7 @@ const command: Command = {
|
|||
execute: async (interaction) => {
|
||||
let members = await getAllMembers();
|
||||
members = members.sort((a, b) =>
|
||||
a.discordUsername.localeCompare(b.discordUsername),
|
||||
(a.discordUsername ?? '').localeCompare(b.discordUsername ?? ''),
|
||||
);
|
||||
|
||||
const ITEMS_PER_PAGE = 15;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue