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.2.0.tar.gz (3.9 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.2.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for roleplaycog-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8aea1892c354c02602db1e1a76fd0d1c712e2f87d59704aa6b2662c1cecbd221
MD5 8a0296296a3199a164fa1fe30ced2bd8
BLAKE2b-256 538ef00912cdbde0229368497727642d8f4d5e6612f633791dc0b2a511f402a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: roleplaycog-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 016ccbef849ded263a8f515600dc551527f97431fd19d7188b09dba99cffa240
MD5 8f0471ab60d814e15f256465eca42c52
BLAKE2b-256 fd8fe5c7455c38b5300124bde79b8573ba94c9bb9c77985acff953b4e8fcb863

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