Minor changes

This commit is contained in:
2023-08-14 18:36:15 +10:00
parent ad653a33d2
commit 3d51687b51
6 changed files with 6 additions and 7 deletions

View File

@@ -141,7 +141,7 @@ class Calculator(discord.ui.View):
else:
self.clearRequirement += 1
self.output = self.expression(self.inputTwo, self.inputOne)
if (self.inputTwo == 9) and (self.inputOne == 10):
if (self.inputTwo == 9) and (self.inputOne == 10) and (self.expression == addition):
self.output = 21
await interaction.response.edit_message(
content=self.display(),