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

Built Distribution

File details

Details for the file operator_precedence_high_roller_bot-1.1.1.tar.gz.

File metadata

File hashes

Hashes for operator_precedence_high_roller_bot-1.1.1.tar.gz
Algorithm Hash digest
SHA256 966682f2f7f4a22fb56b3f33740c3df0dcde14d37fcfb45f80846c725ffa560f
MD5 06974f25db23cc5d5c2b54cc29829b63
BLAKE2b-256 53f5add7c6cd81155ec46852753c324c5edd9a7f449b4fb31d88156f5ce8ef31

See more details on using hashes here.

File details

Details for the file operator_precedence_high_roller_bot-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for operator_precedence_high_roller_bot-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95bd3f6d3dc3bc55e52baab3da96aa872d180a362c9988d6368bf8bbf626d651
MD5 ee8c54204d39e326c79699b8ec2d8c5c
BLAKE2b-256 07b24721dc1037f439ae4da59966b86f37dce2b9e01ffb7c4a83dc5703dbf328

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