Skip to main content

A small Package for printing in Discord

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

botprint-1.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

botprint-1.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page