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.3.3.tar.gz (3.6 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.3.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for roleplaycog-0.3.3.tar.gz
Algorithm Hash digest
SHA256 3b8721c2bc050d289c37fec7cb39a867a7bab806cc7d53543ce9962526b1b24b
MD5 babf6c8523c07ab5abfc34d99e28f525
BLAKE2b-256 4ae40f31d98732873f25bec7a00ff9d597449e8d5d6bfb116b689c37d7866474

See more details on using hashes here.

File details

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

File metadata

  • Download URL: roleplaycog-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 4.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.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec66289e917873261fe51b82965b0ce6f20107c65971da8f55552b2d0ab9343
MD5 a61924ef7fa0371073ec7ff808171b78
BLAKE2b-256 004fa33d774aa1fe7624a6fc89efbfea2b45921cb5db6d218e21533e4129677f

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