4

If(! sleep){
Code
} else {
Good night
}

Comments
  • 0
    Yooo that was creative af!!!
  • 0
    Warning: Unreachable statement
  • 0
    @No-one that shouldnt be an error in any reasonable language. the error im getting is: variable sleep is undefined.
  • 0
    @No-one i found that out the hard way:
    !!!This ~is~ was real code!!!

    boolean x = !

    arg0.contains("/help");

    if(! x) {
    // some shit with the discord api and a lot of hardcode strings
    } else if(x) {
    // some shit saving the message to a file (which isnt allowed per discors TOS btw)
    }
  • 0
    corection

    if (!sleep) {
    do(code)
    .catch(err) { console.log(err) }
    } else {
    say("Good night", friends.all)
    }
Add Comment