Skip to content

Commit 198630b

Browse files
committed
Fix emojify
1 parent fa5d21c commit 198630b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/DataManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export default class DataManager {
120120
return type ?? "Unknown"
121121

122122
const found = this.emojis[type as BotEmoji]
123-
if (!found && includeName == undefined) return type
124123
if (!found && includeName == false) return ""
124+
if (!found) return type
125125
if (includeName) return `${found} ${type}`
126126
return found
127127
}

0 commit comments

Comments
 (0)