From 4bc72688c30a0dfbbfef62d992cab3ba1a027030 Mon Sep 17 00:00:00 2001 From: Snazzah Date: Tue, 6 Feb 2024 15:13:46 -0600 Subject: [PATCH] feat(bot): bump recording ID size to 12 --- apps/bot/src/modules/recorder/recording.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/bot/src/modules/recorder/recording.ts b/apps/bot/src/modules/recorder/recording.ts index e5bf532..13d1d65 100644 --- a/apps/bot/src/modules/recorder/recording.ts +++ b/apps/bot/src/modules/recorder/recording.ts @@ -23,7 +23,7 @@ dayjs.extend(duration); const opus = new OpusEncoder(48000, 2); const alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; -const recNanoid = customAlphabet(alphabet, 10); +const recNanoid = customAlphabet(alphabet, 12); const recIndicator = / *!?\[RECORDING\] */; export const NOTE_TRACK_NUMBER = 65536;