New command "stickernames" lists uniq and sorted sticker names

This commit is contained in:
jcorporation
2023-10-21 18:08:14 +02:00
parent 97da29cc90
commit f4f79a3d5f
6 changed files with 69 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ static constexpr struct command commands[] = {
{ "status", PERMISSION_READ, 0, 0, handle_status },
#ifdef ENABLE_SQLITE
{ "sticker", PERMISSION_ADMIN, 3, -1, handle_sticker },
{ "stickernames", PERMISSION_ADMIN, 0, 0, handle_sticker_names },
#endif
{ "stop", PERMISSION_PLAYER, 0, 0, handle_stop },
{ "subscribe", PERMISSION_READ, 1, 1, handle_subscribe },