hashtablebot.entity package

Submodules

hashtablebot.entity.bot_user module

class hashtablebot.entity.bot_user.BotUser(id: int, balance: int = 0, bot_joined_channel: bool = False, bot_command_prefix: str = '$')

Bases: object

balance: int

If the user ran the join command this is set to true so that the bot joins again even after shutting down

bot_command_prefix: str
bot_joined_channel: bool

The command prefix the bot should respond to when in the user’s channel.

deposit(amount: int)
get_balance() int
id: int
name() str
withdraw(amount: int)

Module contents