tanmaypardeshi / CSC-510-Project2-TeachersPetBot

TeachersPetBot is a Discord Bot for class instructors to streamline their Discord servers
MIT License
0 stars 1 forks source link

Event Creation Test #4

Open ExtremeMachine12 opened 10 months ago

ExtremeMachine12 commented 10 months ago

The event creation test is running into an error seemingly because of the following lines: "return await testing_bot.wait_for('message', timeout=2, check=lambda x: x.guild.id == channel.guild.id and x.author.name == DICORD_BOT_NAME and content in x.content)" because of a timeout error and also line 89 in utils.py is running an exception.

ExtremeMachine12 commented 10 months ago

We aren't going to be able to fix this without completely reworking event creation. Discord bots are not allowed to call interactions in discord.py so there's no way to actually automate testing if the buttons work or not.