summary refs log tree commit diff stats
path: root/components
diff options
context:
space:
mode:
authorsuhas <hi@suhas.one>2023-11-21 18:31:55 -0600
committersuhas <hi@suhas.one>2023-11-21 18:31:55 -0600
commit6480ed3a4fd446c9d6c763fbe823c80832f7d067 (patch)
treefe77f332e96b258670fcef8b2c930fb91e259f65 /components
parent3360344b64b781930e81770bc3b40bba502fe907 (diff)
downloadqbb-6480ed3a4fd446c9d6c763fbe823c80832f7d067.tar.gz
fix buttons not disabling
Diffstat (limited to 'components')
-rw-r--r--components/AnswerModal.py2
-rw-r--r--components/__pycache__/AnswerModal.cpython-311.pycbin10279 -> 10125 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/components/AnswerModal.py b/components/AnswerModal.py
index 154c5ad..384835e 100644
--- a/components/AnswerModal.py
+++ b/components/AnswerModal.py
@@ -7,7 +7,7 @@ from prisma.models import User
 from typing import TYPE_CHECKING, Literal
 if TYPE_CHECKING:
     from .TossupButtons import TossupButtons, SoloTossupButtons
-from discord import Button
+from discord.ui.button import Button
 from common.types import category_field_translations
 
 
diff --git a/components/__pycache__/AnswerModal.cpython-311.pyc b/components/__pycache__/AnswerModal.cpython-311.pyc
index b969caa..b760f9c 100644
--- a/components/__pycache__/AnswerModal.cpython-311.pyc
+++ b/components/__pycache__/AnswerModal.cpython-311.pyc
Binary files differ