Before you would have to query whoami from the server to find your own client id or client database id.
Since the bot already queries it in bot.run() method, it doesn't take much to add the clid and cldbid to instance.
This can be used in queries where bots own clid or cldbid is needed. (eg. moving the bot client to another channel, adding the bot client to a server group)
Before you would have to query
whoami
from the server to find your own client id or client database id. Since the bot already queries it inbot.run()
method, it doesn't take much to add theclid
andcldbid
to instance.This can be used in queries where bots own
clid
orcldbid
is needed. (eg. moving the bot client to another channel, adding the bot client to a server group)