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.2.tar.gz (3.8 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.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: roleplaycog-0.3.2.tar.gz
  • Upload date:
  • Size: 3.8 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.2.tar.gz
Algorithm Hash digest
SHA256 94ebf9a7f8bc596e5f7828930cca39a0164f533a5943a701db87fe4ee825e5cf
MD5 db95ce4bfde8a4400ec68989eda11b33
BLAKE2b-256 1e0d957aa37c7422e86412d2fe7d8edc6daa89446c25bdfba31b5b684d336ee1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: roleplaycog-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 043f9f8b22527dce8ccbc9d2d2fe886f5846b7e8bed23e7cbced8d5d0ba9bed3
MD5 908c1627ccf4222acab1e05a8ced3039
BLAKE2b-256 65ba20be5150510e3264b2a7b5b4388a565e88c77331aa8d8379f514aaa28c3c

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