codebots.utilities.tokens.add_token#

codebots.utilities.tokens.add_token(alias, **kwargs)[source]#

Create a json file with the credential settings needed for the bot to operate.

Parameters:
aliasstr

name of the bot/project/server to configure.

Examples

>>> add_token(telegram, bot_token="some_token", bot_chatID=12345)