Skip to main content

A small example package

Project description

Operator Precedence High Roller Package

This is a package for a discord bot. I call it High Roller as a play on its original use for TTRPG rolling, as well as a joking reference to gambling. Also recently I added a !gamble command to make the joke more literal.

Commands -

! is the general character to put before a discord message to be read by the bot.

Command => '!' [EXPR] Command => '!gamble' Command => [BET] Command => '!' [RECALL]

EXPR => [EXPR] '+' [EXPR] EXPR => [EXPR] '-' [EXPR] EXPR => [EXPR] '_' [EXPR] EXPR => [EXPR] '/' [EXPR] EXPR => '(' [EXPR] ')' EXPR => [NUM] EXPR => [ROLL]

ROLL => 'd' [NUM] ROLL => 'e' [NUM]

NUM => [0..9]+

BET => 'odds' BET => 'evens'

RECALL => 'h' RECALL => 'h' '(' [NUM] ',' [ROLL] ')'

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

operator_precedence_high_roller-1.1.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file operator_precedence_high_roller-1.1.2.tar.gz.

File metadata

File hashes

Hashes for operator_precedence_high_roller-1.1.2.tar.gz
Algorithm Hash digest
SHA256 6757c69991c2a796568f4399888090d90c24c8a1db36703ca7d4b342ab5acdeb
MD5 2d23731497cf972d4053ae32232e5e62
BLAKE2b-256 8ef36afb4af46bd3332c427fbcc2bddb3186821df7aa4439ec2a8f30a52878dc

See more details on using hashes here.

File details

Details for the file operator_precedence_high_roller-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for operator_precedence_high_roller-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6318bdf31fbb6e5651a3949cffeeda2ca812d879ad973d943320c5472d1725ed
MD5 8579f479e474ff29e67e4a56da630436
BLAKE2b-256 65b3bc0ba33e1fa0d7337b5cc96a0c7648b336b095cca6c3bcc8def909b91687

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page