Cobular / distest

A library used to do integration testing on discord bots
MIT License
29 stars 8 forks source link

Implement Timeout when run Interactively #23

Closed Cobular closed 5 years ago

Cobular commented 5 years ago

We pass the optional timeout from the command line into interactive, but it never actually makes it to where it needs to go. Most of the code should be the same as in the CLI mode, we just need to copy it over. See below for the dead end:

https://github.com/JakeCover/distest/blob/ccd3b63e78defb34e93586fed71139efa30a2b8d/distest/__init__.py#L114-L128

We need to:

Notes: brought up when documenting for #21, possible 1.1 item

JosephFKnight commented 5 years ago

@JakeCover I already implemented this, I just forgot to pass the parameter to the DiscordInteractiveInterface constructor call. pushed to documentation branch. 7a8e33e23426936c64a97263272aa1656d4c1460 The CI tests failed because for some reason Discord didn't put the image embed on the message, so there actually wasn't an image. Need to figure out why that happens.