<commit_before>Hearthstone Bot for Discord.

# Commands

# Card Information

Stonebot uses a fuzzy search when matching card names and returns the highest scoring result, favoring collectible cards over uncollectible ones. Using `@` before `name` will search uncollectible cards only.

## card:text

Displays card text.  

**Format**: `!text <name>`  
**Aliases**: `card`, `txt`, `t`, `c`, `🎴`, `🃏`, `📝`, `📜`, `📃`  
**Example**: `!text frostbolt`

> **Frostbolt**  
> 2 Mana Mage Spell  
> **Text**  
> Deal $3 damage to a character and **Freeze** it.

## card:text-flavor

Displays card text and flavor text.

**Format**: `!text-flavor <name>`  
**Aliases**: `flavor-text`, `flavor`, `f`, `🥓`, `🍗`, `🍿`, `🍰`  
**Example**: `!text-flavor devolve`

> **Devolve**  
> 2 Mana Shaman Spell  
> **Text**  
> Transform all enemy minions into random ones that cost (1) less.  
> **Flavor**  
> Ragnaros looked down. He looked like some kind of War Golem. "WHAT HAVE YOU DONE TO ME," he yelled. But all that came out was a deep grinding sound. He began to cry.

## card:image

Displays card image.

**Format**: `!image <name>`  
**Aliases**: `img`, `i`, `📷`, `📸`  
**Example**: `!image firey war axe`

http://media.services.zam.com/v1/media/byName/hs/cards/enus/CS2_106.png  
![](http://media.services.zam.com/v1/media/byName/hs/cards/enus/CS2_106.png)

## card:image-gold

Displays golden card image.

**Format**: `!image-gold <name>`  
**Aliases**: `gold-image`, `gold`, `g`, `👑`, `💰`  
**Example**: `!image-gold twisting nether`

http://media.services.zam.com/v1/media/byName/hs/cards/enus/animated/EX1_312_premium.gif  
![](http://media.services.zam.com/v1/media/byName/hs/cards/enus/animated/EX1_312_premium.gif)

## card:image-art

Displays the artist and full art from the card.

**Format**: `!image-art <name>`  
**Aliases**: `art-image`, `art`, `a`, `🖼`, `🎨`  
**Example**: `!image-art raza`

> **Raza the Chained**  
> **Artist**  
> <NAME>  
> ![](https://art.hearthstonejson.com/v1/512x/CFM_020.jpg)

## card:sound

Plays card sound in your voice channel.

**Format**: `!sound [kind] <name>`  
`[kind]`: One of `play`, `attack`, `death` or `trigger`. Optional.  
**Aliases**: `snd`, `s`, `🔈`, `🔉`, `🔊`, `🎧`, `🎵`  
**Examples**

- `!sound tirion`
- `!sound attack jaraxxus`
- `!sound death refreshment vendor`
- `!sound trigger antonaidas`

## card:json

Displays JSON inormation for card.

**Format**: `!json <name>`  
**Aliases**: `dev`, `info`, `🗡`  
**Example**: `!json jade golem`

```json
{
  "artist": "<NAME>",
  "attack": 1,
  "cost": 1,
  "dbfId": 42098,
  "health": 1,
  "id": "CFM_712_t01",
  "mechanics": [
    "JADE_GOLEM"
  ],
  "name": "<NAME>",
  "playerClass": "NEUTRAL",
  "set": "GANGS",
  "type": "MINION"
}
```

---

# Make Stonebot Your Friend<commit_msg>Add utility commands to readme<commit_after>Hearthstone Bot for Discord.

# Commands

# Card Information

Stonebot uses a fuzzy search when matching card names and returns the highest scoring result, favoring collectible cards over uncollectible ones. Using `@` before `name` will search uncollectible cards only.

## card:text

Displays card text.  

**Format**: `!text <name>`  
**Aliases**: `card`, `txt`, `t`, `c`, `🎴`, `🃏`, `📝`, `📜`, `📃`  
**Example**: `!text frostbolt`

> **Frostbolt**  
> 2 Mana Mage Spell  
> **Text**  
> Deal $3 damage to a character and **Freeze** it.

## card:text-flavor

Displays card text and flavor text.

**Format**: `!text-flavor <name>`  
**Aliases**: `flavor-text`, `flavor`, `f`, `🥓`, `🍗`, `🍿`, `🍰`  
**Example**: `!text-flavor devolve`

> **Devolve**  
> 2 Mana Shaman Spell  
> **Text**  
> Transform all enemy minions into random ones that cost (1) less.  
> **Flavor**  
> Ragnaros looked down. He looked like some kind of War Golem. "WHAT HAVE YOU DONE TO ME," he yelled. But all that came out was a deep grinding sound. He began to cry.

## card:image

Displays card image.

**Format**: `!image <name>`  
**Aliases**: `img`, `i`, `📷`, `📸`  
**Example**: `!image firey war axe`

http://media.services.zam.com/v1/media/byName/hs/cards/enus/CS2_106.png  
![](http://media.services.zam.com/v1/media/byName/hs/cards/enus/CS2_106.png)

## card:image-gold

Displays golden card image.

**Format**: `!image-gold <name>`  
**Aliases**: `gold-image`, `gold`, `g`, `👑`, `💰`  
**Example**: `!image-gold twisting nether`

http://media.services.zam.com/v1/media/byName/hs/cards/enus/animated/EX1_312_premium.gif  
![](http://media.services.zam.com/v1/media/byName/hs/cards/enus/animated/EX1_312_premium.gif)

## card:image-art

Displays the artist and full art from the card.

**Format**: `!image-art <name>`  
**Aliases**: `art-image`, `art`, `a`, `🖼`, `🎨`  
**Example**: `!image-art raza`

> **Raza the Chained**  
> **Artist**  
> <NAME>  
> ![](https://art.hearthstonejson.com/v1/512x/CFM_020.jpg)

## card:sound

Plays card sound in your voice channel.

**Format**: `!sound [kind] <name>`  
`[kind]`: One of `play`, `attack`, `death` or `trigger`. Optional.  
**Aliases**: `snd`, `s`, `🔈`, `🔉`, `🔊`, `🎧`, `🎵`  
**Examples**

- `!sound tirion`
- `!sound attack jaraxxus`
- `!sound death refreshment vendor`
- `!sound trigger antonaidas`

## card:json

Displays JSON inormation for card.

**Format**: `!json <name>`  
**Aliases**: `dev`, `info`, `🗡`  
**Example**: `!json jade golem`

```json
{
  "artist": "<NAME>",
  "attack": 1,
  "cost": 1,
  "dbfId": 42098,
  "health": 1,
  "id": "CFM_712_t01",
  "mechanics": [
    "JADE_GOLEM"
  ],
  "name": "<NAME>",
  "playerClass": "NEUTRAL",
  "set": "GANGS",
  "type": "MINION"
}
```

# Utility

## util:help

Displays a list of available commands, or detailed information for a specified command.

The command may be part of a command name or a whole command name. If it isn't specified, all available commands will be listed.

**Format**: `!help [command]`  
**Alias**: `commands`  
**Examples**:

- `!help`
- `!help prefix`

## util:ping

Checks the bot's ping to the Discord server.

**Format**: `!ping`

## util:prefix

Shows or sets the command prefix.

If no prefix is provided, the current prefix will be shown. If the prefix is "default", the prefix will be reset to the bot's default prefix. If the prefix is "none", the prefix will be removed entirely, only allowing mentions to run commands. Only administrators may change the prefix.

**Format**: `!prefix [prefix/"default"/"none"]`  
**Examples**:

- `!prefix`
- `!prefix -`
- `!prefix omg!`
- `!prefix default`
- `!prefix none`

---

# Make Stonebot Your Friend
{'fraction_non_alphanumeric': 0.20175709001233047, 'fraction_numerical': 0.013563501849568433, 'mean_word_length': 4.065573770491803, 'pattern_counts': {'":': 22, '<': 23, '<?xml version=': 0, '>': 51, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1001147', 'n_tokens_mistral': 2667, 'n_tokens_neox': 2484, 'n_words': 722}