Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
commands [2025/02/23 20:30] – russell | commands [2025/02/23 20:48] (current) – russell | ||
---|---|---|---|
Line 8: | Line 8: | ||
**Usage** | **Usage** | ||
- | **''/ | + | **''/ |
+ | |||
+ | **Options** | ||
+ | |||
+ | **'' | ||
+ | * The name of the item you want to buy | ||
+ | Required: true | ||
+ | Autocomplete: | ||
+ | Description: | ||
+ | |||
+ | **'' | ||
+ | * How many of the item you want to buy | ||
+ | Required: false (default: 1) | ||
+ | Min value: 1 | ||
+ | Description: | ||
**Validation** | **Validation** | ||
Line 15: | Line 29: | ||
* Quantity must be greater than 0 | * Quantity must be greater than 0 | ||
- | **Returns** | ||
- | * Purchase confirmation containing: | ||
- | * Item name and quantity | ||
- | * Total cost in JoxCoins | ||
- | * Remaining balance | ||
**Examples** | **Examples** | ||
Line 35: | Line 44: | ||
**''/ | **''/ | ||
- | **Returns** | ||
- | * Embed message containing: | ||
- | * Current price | ||
- | * Price change | ||
- | * Percentage change | ||
- | * Colorcoded indicators (🟢 for positive, 🔴 for negative) | ||
**Examples** | **Examples** | ||
Line 58: | Line 61: | ||
* Only shows items with quantity > 0 | * Only shows items with quantity > 0 | ||
- | **Returns** | ||
- | * Table containing: | ||
- | * Item names | ||
- | * Quantities | ||
- | * Formatted with user's name as title | ||
**Examples** | **Examples** | ||
Line 77: | Line 75: | ||
**Options** | **Options** | ||
- | | + | |
- | * `quantity | + | **'' |
- | * `ticker | + | Stock ticker symbol (e.g., AAPL) |
- | * `quantity | + | |
+ | **'' | ||
+ | Number of shares to buy (min: 1) | ||
+ | |||
+ | **'' | ||
+ | Stock ticker symbol (e.g., AAPL) | ||
+ | |||
+ | **'' | ||
+ | Number of shares to sell (min: 1) | ||
**Subcommands** | **Subcommands** | ||
Line 116: | Line 122: | ||
* Items are sorted by type first, then by cost | * Items are sorted by type first, then by cost | ||
- | **Returns** | ||
- | * Table containing: | ||
- | * Item names (max width: 16 chars) | ||
- | * Prices in JoxCoins | ||
- | * Item descriptions (max width: 50 chars) | ||
- | * Items grouped by type | ||
**Examples** | **Examples** | ||
Line 136: | Line 136: | ||
**Options** | **Options** | ||
- | | + | |
- | * `timeframe | + | **'' |
+ | Stock symbol to look up (e.g., AAPL, TSLA) | ||
+ | |||
+ | **'' | ||
+ | Chart timeframe | ||
**Validation** | **Validation** | ||
Line 143: | Line 147: | ||
* Timeframe must be one of the allowed options | * Timeframe must be one of the allowed options | ||
- | **Returns** | ||
- | * Stock price chart image from Finviz | ||
- | * Current price and market data | ||
**Examples** | **Examples** | ||
Line 162: | Line 163: | ||
**Options** | **Options** | ||
- | | + | |
- | * `amount | + | **'' |
+ | The user to transfer JoxCoins to | ||
+ | |||
+ | **'' | ||
+ | The amount of JoxCoins to transfer (min: 1) | ||
**Validation** | **Validation** | ||
Line 170: | Line 175: | ||
* Cannot transfer to self | * Cannot transfer to self | ||
- | **Returns** | ||
- | * Table containing: | ||
- | * From (sender username) | ||
- | * To (recipient username) | ||
- | * Transfer amount | ||
- | * Updated sender balance | ||
- | * Updated recipient balance | ||
**Examples** | **Examples** | ||
Transfer 100 JoxCoins: | Transfer 100 JoxCoins: | ||
- | < | + | < |
Transfer 1000 JoxCoins: | Transfer 1000 JoxCoins: | ||
- | < | + | < |
---- | ---- | ||
===== Fun Commands ===== | ===== Fun Commands ===== | ||
Line 194: | Line 192: | ||
**Options** | **Options** | ||
- | | + | |
+ | **'' | ||
+ | Your solution to the active challenge | ||
**Subcommands** | **Subcommands** | ||
Line 241: | Line 241: | ||
**Options** | **Options** | ||
- | | + | |
+ | **'' | ||
+ | The user you want to tell to go fuck themselves | ||
**Validation** | **Validation** | ||
Line 247: | Line 249: | ||
* Cannot tell yourself to go fuck yourself | * Cannot tell yourself to go fuck yourself | ||
- | **Returns** | ||
- | * Formatted message mentioning the target user | ||
- | * Message is visible to everyone in the channel | ||
**Examples** | **Examples** | ||
Tell someone to GFY: | Tell someone to GFY: | ||
- | < | + | < |
---- | ---- | ||
==== poker ==== | ==== poker ==== | ||
Line 264: | Line 263: | ||
**Options** | **Options** | ||
- | | + | |
+ | **'' | ||
+ | Card positions to redraw (comma-separated, | ||
**Subcommands** | **Subcommands** | ||
Line 297: | Line 298: | ||
**Options** | **Options** | ||
- | | + | |
- | * `type (string): Type of bet to place` | + | **'' |
- | | + | Amount of JoxCoins to bet (min: 1, max: 500) |
- | | + | |
- | | + | **'' |
- | | + | Type of bet to place |
- | | + | - RED: Red numbers (1, |
- | | + | - BLACK: Black numbers (2, |
- | | + | - GREEN: Green numbers (0,00) |
- | | + | - EVEN: Even numbers (2, |
- | * `number | + | - ODD: Odd numbers (1, |
+ | - LOW: Numbers 1-18 | ||
+ | - HIGH: Numbers 19-36 | ||
+ | - NUMBER: Specific number bet | ||
+ | |||
+ | **'' | ||
+ | Specific number to bet on (0-36 or 00, only for NUMBER type) | ||
**Validation** | **Validation** |