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] ')'

Version history - 1.1.1 - doesn't actually work 1.1.2 - everything except RECALL commands works 1.1.3 - now everything works like it should

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.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for operator_precedence_high_roller-1.1.3.tar.gz
Algorithm Hash digest
SHA256 3c130334129080e5ab54a4eb48d80a260e5e156bb768641bb3b4081dcf10d2fe
MD5 63ea3f23ed97e4ad1d63791476c4c09a
BLAKE2b-256 5a8033507ac1e2a38ab01499fb4658685b55af9619d7670c02db70dbcba4444d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for operator_precedence_high_roller-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9371b34ad62ff524b252e32ba17344cf8d70f5c60d923a1703ccbbbcfd59c86
MD5 5108632714ce4fd89c471d1236178914
BLAKE2b-256 dc0bd061e58eb9929a310da8a7218ba957e3d77e1bfc9f9df0c6ad8ec5ac7426

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