Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 4a2a25f

Browse files
committedJan 21, 2024
fix
1 parent 780ae16 commit 4a2a25f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎src/bot/commands/imagine.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ export default createCommand({
169169
await interaction.edit(requiredPremium as CreateMessageOptions);
170170
return;
171171
}
172-
let number: 1 | 2 = 1;
173-
if (premium) {
174-
number = 2;
175-
}
172+
const number: 1 | 2 = 1;
176173
const data: {
177174
prompt: string;
178175
number: 1 | 2;

0 commit comments

Comments
 (0)