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

Uploaded Python 3

File details

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

File metadata

  • Download URL: roleplaycog-0.3.0.tar.gz
  • Upload date:
  • Size: 4.0 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.0.tar.gz
Algorithm Hash digest
SHA256 2e069c84d5de08b3ac4c09f7068a4705b4608527c6f4a3adf9b77baa899fe96f
MD5 7617b5ada8a5d804cf4218411946d21c
BLAKE2b-256 c8409e445290f3693923161387c0d8bca04cc4482616f2a8d068e99904180017

See more details on using hashes here.

File details

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

File metadata

  • Download URL: roleplaycog-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca71d9c57a576ddf6a7a4e664f616503853eebadc8e9a0967e17128f82b8c490
MD5 17419724b89df099e1215259a9ab46fb
BLAKE2b-256 32b39d77b35b191cd8c5e532797a861b6fbd3cce106a4209782abdf308738937

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