| user name | message | ||
|
bernard_henry_levy |
and remove the else | ||
|
bernard_henry_levy |
put everything in the if | ||
|
bernard_henry_levy |
instead of a try catch, why not check if there is something in the queue before running dequeue? | ||
|
bernard_henry_levy |
but it uses Visual Studio | ||
|
bernard_henry_levy |
check this link | ||
|
bernard_henry_levy |
https://docs.microsoft.com/en-us/visualstudio/test/unit-test-basics?view=vs-2022 | ||
|
xcomreborn |
sdafasd | ||
|
xcomreborn |
dsfasdf | ||
|
xcomreborn |
dasfads | ||
|
xcomreborn |
testsings | ||
|
cohopponentbot |
Xcomreborn's TTSBot Has Connected to This Channel! | ||
|
cohopponentbot |
Closing TTS Bot. | ||
|
xcomreborn |
!closetts | ||
|
xcomreborn |
asdfdas | ||
|
xcomreborn |
adsfasd | ||
|
cohopponentbot |
I'm here! Pls give me mod to prevent twitch from autobanning me for spam if I have to send a few messages quickly. | ||
|
xcomreborn |
test | ||
|
cohopponentbot |
Xcomreborn's TTSBot Has Connected to This Channel! | ||
|
cohopponentbot |
Closing TTS Bot. | ||
|
xcomreborn |
!closetts | ||
|
bernard_henry_levy |
and you will always forget things when you make changes | ||
|
bernard_henry_levy |
but it's super cumbersome | ||
|
bernard_henry_levy |
so in this case you would run a unit test \"check if repeats the username\" | ||
|
bernard_henry_levy |
this basically runs a very small piece of code to check if it behaves as expected | ||
|
bernard_henry_levy |
you need to write unit tests | ||
|
xcomreborn |
ok | ||
|
xcomreborn |
eyst | ||
|
cohopponentbot |
xcomreborn's alias has been set to Xcom | ||
|
xcomreborn |
!alias Xcom | ||
|
hjtheman |
intresting |