Skip to main content

A Discord bot library that integrates many functionalities for Python

Project description

zns-discord-bot

A Discord bot library that integrates many functionalities for Python

Installation

pip install zns-discord-bot

Usage

from discord import Intents

from zns_discord_bot.ZnsDiscordBot import ZnsDiscordBot

bot = ZnsDiscordBot(
    token="YOUR.DISCORD.BOT.TOKEN",
    command_prefix="!",
    intents=Intents.default(),
)

if __name__ == "__main__":
    bot.init()

Features

(Will be updated soon)

Change Log

1.0.0

- Status: Yanked
- Changes: Initial release.
- Reason: Wrong README.md documentation.

1.0.1

- Status: Yanked
- Changes: Fix README.md documentation.
- Reason: `log_level` default value in `Logging` class is not set.

1.0.2

- Status: Released
- Changes: Fix `log_level` default value in `Logging` class.

1.0.3

- Status: Released
- Changes: Change `KeyboardInterrupt` log level from `ERROR` to `INFO`.

1.0.4

- Status: Released
- Changes:
    - Add file logging for bot and system loggers.
    - Add send log and reply log methods.

1.0.5.

- Status: Released
- Changes: Change the way to assign the name for bot logger.

1.0.6

- Status: Released
- Changes: Change the way to assign the name for bot logger.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zns_discord_bot-1.0.6-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file zns_discord_bot-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for zns_discord_bot-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd9e6ff83ea2b80574d87c65aa4bb4ece918178c8542696bc76d140064325d7
MD5 10eb0fffb3efc750e8050631ad922c66
BLAKE2b-256 c6a1c6ac2bd2f4dd1d1cb7bb54b0ed5d4c265bde5a5920b82ccc137897167f8a

See more details on using hashes here.

Supported by

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