vsTerminus / Mojo-Discord

Perl Modules that implement parts of the Discord API. Intended for Text Chat Bots.
MIT License
33 stars 10 forks source link

Feature: $discord->is_connected() #26

Closed incognico closed 3 years ago

incognico commented 4 years ago

A functions which returns 1 only when we are in a state where sending messages is possible and actually will get sent.

So not only "is the websocket connected" but more of a "we are connected, identified and everything is ready".

incognico commented 4 years ago

Hmm it looks like $discord->connected does is in some way, gonna leave this open until I fully checked what it is doing.