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.

1.0.7

- Status: Released
- Changes: Small update in `LoggerBase` class.

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zns_discord_bot-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc5fdbb80b45cb53b9d202144374a8f3ab65a84cadced78b4a0138f165e829b
MD5 10dafdfd651a6e35187813fe4ddb8757
BLAKE2b-256 beb3884fb5daa9ba470eaaeb2d9a63408947c3f33b92a575940530918d4d554a

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