makeLookup: Allow for key of zero

This commit is contained in:
Scott Nonnenberg
2021-01-27 14:39:45 -08:00
committed by GitHub
parent a769402c0c
commit 12c44d40a8
6 changed files with 34 additions and 3 deletions

View File

@@ -203,6 +203,7 @@ const dataInterface: ClientInterface = {
getAllStickerPacks,
getAllStickers,
getRecentStickers,
clearAllErrorStickerPackAttempts,
updateEmojiUsage,
getRecentEmojis,
@@ -1333,6 +1334,9 @@ async function getRecentStickers() {
return recentStickers;
}
async function clearAllErrorStickerPackAttempts() {
await channels.clearAllErrorStickerPackAttempts();
}
// Emojis
async function updateEmojiUsage(shortName: string) {