معرفی شرکت ها


bitbitbot-0.0.9


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

An unopionated, extensible Twitch Chat Bot
ویژگی مقدار
سیستم عامل -
نام فایل bitbitbot-0.0.9
نام bitbitbot
نسخه کتابخانه 0.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده William Johns
ایمیل نویسنده will@wcj.dev
آدرس صفحه اصلی https://github.com/MetaBytez/bitbitbot
آدرس اینترنتی https://pypi.org/project/bitbitbot/
مجوز -
# BitBitBot An unopinionated, extensible Python ChatBot built for twitch on top of the [irc library](https://pypi.org/project/irc/). For more information, please refer to the documentation. ## Example Usage ```python from bitbitbot.bot bot = BitBitBot( {bot_account_name}, # bitbitbot {bot_oauth_token}, # oauth:123456890asdfgh {streamer_channel_name}, # metabytez ) bot.start() ``` ## Creating Plugins Assuming you have installed bitbitbot in a virtualenv called `.venv` and then create the following project structure ``` |- my_bot |- - .venv |- - plugins |- - - my_plugin |- - - - commands.py ``` You can add the following code to the `commands.py` file, to register your first command. ```python from bitbitbot import command from bitbitbot.bot import BitBitBot from bitbitbot.models import TwitchTags @command('foo') def foo(bot: BitBitBot, msg: str, tags: TwitchTags) -> None: bot.send_message('Hello World!') ``` The name of the directories inside of `plugins` can be whatever you want, but the root directory must be called `plugins` You can have multiple directories in the `plugins` directory You can add multiple commands to a single `commands.py` file. The name of the function does not have to match the command name. You don't need the type annotations, they are just for demonstration purposes.


نیازمندی

مقدار نام
- irc
- pydantic


نحوه نصب


نصب پکیج whl bitbitbot-0.0.9:

    pip install bitbitbot-0.0.9.whl


نصب پکیج tar.gz bitbitbot-0.0.9:

    pip install bitbitbot-0.0.9.tar.gz