user name | message | ||
xcomreborn |
I think you are a cock | ||
cohopponentbot |
cock will be substituted with beep in text to speech. | ||
xcomreborn |
!substitute cock beep | ||
ishootmedics |
but javascript works differently, C# is multi-threaded and is blocking | ||
ishootmedics |
hmm not really tbh, i am just not used to having async functions looking like a code-blocking function | ||
ishootmedics |
ok cool | ||
ishootmedics |
sorry for messing around :P | ||
ishootmedics |
because commonly await yields something, so you expect to get a returned value. But dont listen to me, i'm bad at C# | ||
ishootmedics |
don't you have async/await for I/O ? having a response = await something() , is much more intuitive | ||
ishootmedics |
but it depends a lot on the language/ecosystem | ||
ishootmedics |
hmm you might be right in oop, i've gotten too used to functional. We would name it like \"tryDoSomething\", to convey the fact that it should return something | ||
ishootmedics |
a mutating function i mean | ||
ishootmedics |
it's a weird pattern to have a function return a boolean, is all. I mean it's less code, but it's not realy industry-grade | ||
ishootmedics |
unless it's doing a mutation | ||
ishootmedics |
Load() should be called isLoaded() | ||
ishootmedics |
do you need any help ? It's long past since i developed c#... but who knows | ||
ishootmedics |
still at this LUL Are you 72 yet ? | ||
xcomreborn |
hello | ||
cohopponentbot |
hello has been removed from the word substitution list. | ||
xcomreborn |
!removesubstitute hello | ||
7plyordie |
hello | ||
cohopponentbot |
7plyordie's alias has been set to seven ply or die | ||
xcomreborn |
!useralias 7plyordie seven ply or die | ||
7plyordie |
7 layers of wood | ||
cohopponentbot |
Xcomreborn's TTSBot Has Connected to This Channel! | ||
7plyordie |
haha yer it actaully is | ||
cohopponentbot |
Closing TTS Bot. | ||
xcomreborn |
!closetts | ||
7plyordie |
ita ply | ||
cohopponentbot |
Correct usage in the form !useralias userName alias |