Skip to content

Commit 999422a

Browse files
authored
Operator Fix
1 parent bd91a9f commit 999422a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ client.on("interactionCreate", async (interaction) => {
336336
data = interaction.customId.split("—");
337337
interaction.customId = data.shift();
338338
data = data.map(key => {
339-
if (key.startsWith("π") || !isNaN(key.slice(1))) return Number(key.slice(1));
339+
if (key.startsWith("π") && !isNaN(key.slice(1))) return Number(key.slice(1));
340340
if (key.startsWith("¤")) return Underline._references.get(key.slice(1)) || null;
341341
return key;
342342
})

0 commit comments

Comments
 (0)