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.zns_discord_bot 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.

1.0.8

- Status: Yanked
- Accidentally uploaded test module.
- Changes: Big update in `LoggerBase` class.

1.0.9

- Status: Yanked
- Accidentally uploaded test module.
- Changes: Small update in `LoggerBase` class.

1.0.10

- Status: Yanked
- Accidentally uploaded test module.
- Changes: Small update in `LoggerBase` class.

1.0.11

- Status: Yanked
- Accidentally uploaded test module.
- Changes: Small update in `LoggerBase` class.

1.0.12

- Status: Yanked
- Accidentally uploaded test module.
- Changes: Small update in `LoggerBase` class.

1.0.13
- Status: Released
- Changes: Remove test module.

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

zns-discord-bot-1.0.13.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

zns_discord_bot-1.0.13-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file zns-discord-bot-1.0.13.tar.gz.

File metadata

  • Download URL: zns-discord-bot-1.0.13.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for zns-discord-bot-1.0.13.tar.gz
Algorithm Hash digest
SHA256 e5527a8d4cb4839503d320581bc15375f3a9ad6838c0bf006072cfbdf2f644ff
MD5 b73d40f91121b33c8b0181cbeaad0017
BLAKE2b-256 2c78ed073bf0bd6d437a623761f91f1b9766b8eca2852fe9b7b40eb90dfb231d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zns_discord_bot-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 ff13baa151a5dbf53049e2f5351014aa2927abe4402bcdafe6c746f570eb3d1c
MD5 9d0fb05e90e83b2e7f2604406f6f1c37
BLAKE2b-256 df33923c24cb87ec2a4abc7fb1948e0f9748a88ef29836b601eaa0d0a071f9b2

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