botprint-1.0.1
توضیحات
A small Package for printing in Discord
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | botprint-1.0.1 |
| نام | botprint |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Whitekeks |
| ایمیل نویسنده | JanNiklasb1998@gmail.com |
| آدرس صفحه اصلی | https://gitlab.com/Whitekeks/botprint.git |
| آدرس اینترنتی | https://pypi.org/project/botprint/ |
| مجوز | - |
# botprint
A small Project to make a Module to print out stuff in a Discord-Channel with your Bot
Usage:
update/create environment Variables in TOKEN.env in for example .../Python/Python37/Lib/site-packages/Bot_Print
PRINTER_TOKEN = your Discord-Bot Token
DISCORD_GUILD = the Standard Guild you want to use (you can call it manualy in the functions if you want)
DISCORD_CHANNEL = the Standard Cannel in your Guild you want to use ("")
finaly just import botprint and have fun
Functions:
tostring(Array): Converts Python-Array into String
splitString(STRING): Splits String in Strings of length 2000 which is the Maximum String-Size in Discord
bprint(Object, guild=GUILD, Channel=CHANNEL): converts some stuff and prints out x in given channel
def shutdown(): closes bot-event-loop (should always be called at the end of the program)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl botprint-1.0.1:
pip install botprint-1.0.1.whl
نصب پکیج tar.gz botprint-1.0.1:
pip install botprint-1.0.1.tar.gz