معرفی شرکت ها


dizbot-1.0.3


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A command line tool to seamlessly build discord bots in python
ویژگی مقدار
سیستم عامل -
نام فایل dizbot-1.0.3
نام dizbot
نسخه کتابخانه 1.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Eishan Lawrence
ایمیل نویسنده eishanlawrence5@gmail.com
آدرس صفحه اصلی https://github.com/eishan05/dizbot
آدرس اینترنتی https://pypi.org/project/dizbot/
مجوز MIT
# dizbot [![Build Status](https://travis-ci.org/eishan05/dizbot.svg?branch=master)](https://travis-ci.org/eishan05/dizbot) [![PyPI Version](https://img.shields.io/pypi/v/dizbot.svg)](https://pypi.org/project/dizbot/) A command line tool to seamlessly build discord bots in python ## How to install Run `pip install dizbot` Note: Requires python version 3 or more ## How to use ![Demo](demo/demo.gif) 1. Go into the directory you want to have the bot code in 2. Run command `dizbot run` and walk through the prompts to add commands and event handlers and create the bot 3. Add your bot's client token in the `client_token.txt` file if you didn't already add it through the CLI 4. Run `python3 bot.py` and test out your bot! dizbot saves your bot's configurations into `dizbot_config.json` file and reads from it if you run `dizbot run` again dizbot also appends `dizbot_config.json` and `client_token.txt` to your `.gitignore` to make sure that you do not accidently push sensitive info to github or other websites After dizbot generates the python code, you can add more code to it! The python file generated by the bot after going through the CLI shown in the demo gif: ```python from discord.ext import commands bot = commands.Bot(command_prefix='>') @bot.command() async def test(ctx, *args): await ctx.send('hi test!') @bot.command() async def ping(ctx, *args): await ctx.send('pong!') @bot.event async def on_member_join(member): channel = await member.create_dm() await channel.send('Hello new member!') f = open('client_token.txt', 'r') print('Running the bot...') bot.run(f.read()) ```


نیازمندی

مقدار نام
- click
- discord.py


زبان مورد نیاز

مقدار نام
>=3 Python


نحوه نصب


نصب پکیج whl dizbot-1.0.3:

    pip install dizbot-1.0.3.whl


نصب پکیج tar.gz dizbot-1.0.3:

    pip install dizbot-1.0.3.tar.gz