Moved message listener to a cog. Listener is set up on bot run. Listener listens to all messages. Pulls score and image from a message sent in submission channel if a user has an active submission.

This commit is contained in:
alwayscompiling
2022-07-10 20:05:20 -04:00
parent 198d9008b9
commit b61008518c
4 changed files with 55 additions and 14 deletions
+1
View File
@@ -3,6 +3,7 @@ Bot command to submit a score
"""
from nextcord.ext import commands
from highscores import highscores_data # pylint: disable=import-error
from utilities.utils import submit_score # pylint: disable=import-error
from .verification_view import VerificationView