Skip to main content

Roleplay cog for py-cord

Project description

Roleplay Cog

This package is a cog edition of my roleplay bot repository

Usage

In your bot's cog directory, make a new file named roleplay and enter:

from roleplaycog.roleplay import cog

def setup(bot):
	bot.add_cog(cog(bot))

Or if you want the commands to be in a slash command group named roleplay, from roleplaycog.roleplaygrouped import cog instead.

In your main bot file (replace cogs and roleplay with the proper path):

bot.add_extension("cogs.roleplay")

From there you are set!

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

roleplaycog-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

roleplaycog-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file roleplaycog-0.1.1.tar.gz.

File metadata

  • Download URL: roleplaycog-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for roleplaycog-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a7e2795eba130e32645cd5d8c09cdd9be76b6544187f865f479641084bc14302
MD5 bce9ad37248998e5d6158191cf35e30e
BLAKE2b-256 e2952b48a1ce99a2561e13a8aaa93be2c969942dc89d315a5afa15c146f30b62

See more details on using hashes here.

File details

Details for the file roleplaycog-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: roleplaycog-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for roleplaycog-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0fac6e688274cdc67d533b40f9a8cb5467397d5d4aad9f9e95ddb7bbb8f557b
MD5 a94217de1bc2ce5ff5f9558a21d6afe4
BLAKE2b-256 4ec4b4e0f8b0a075021c14b32ac613a7aae997305138d177a2d3b63c981ebb5d

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