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 log file.

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.5-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zns_discord_bot-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed8b1fef647bcc0e4e9d356e13ff346a4c786f43a99233165e1edde6e289936
MD5 cad19a7673fa9952daa98493e8ba04d8
BLAKE2b-256 548232b437f1e89d623a61a3f6a90fa06ad504f3ecc2e3bc042225d788b47604

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