Skip to content

Commit

Permalink
Add heihachi
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Sep 30, 2024
1 parent 7d4163b commit 96e85b0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ python3 src/main.py path/to/config.json --export_dir path/to/export/dir

The bot supports the following slash commands -

| Command | Description |
| --- | --- |
| `/fd <character> <move>` | Get frame data of a particular character's move |
| Command | Description |
|----------------------------------------------------|-----------------------------------------------------------------|
| `/fd <character> <move>` | Get frame data of a particular character's move |
| `/ms <character> <condition> <frames> <situation>` | Find a character's moves that match a particular frame scenario |
| `/<character>` | Get frame data for a particular character's move |
| `/feedback <message>` | Send feedback to the bot owner |
| `/help` | Get help on the bot's usage |
| `/<character> <move>` | Get frame data of a particular character's move |
| `/feedback <message>` | Send feedback to the bot owner |
| `/help` | Get help on the bot's usage |

## Testing

Expand Down
5 changes: 5 additions & 0 deletions src/frame_service/wavu/static/character_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"portrait": "https://wavu.wiki/t/Special:Redirect/file/FengT8.png",
"page": "https://wavu.wiki/t/Feng"
},
{
"name": "heihachi",
"portrait": "https://wavu.wiki/t/Special:Redirect/file/HeihachiT8.png",
"page": "https://wavu.wiki/t/Heihachi"
},
{
"name": "hwoarang",
"portrait": "https://wavu.wiki/t/Special:Redirect/file/HwoarangT8.png",
Expand Down
2 changes: 2 additions & 0 deletions src/framedb/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class CharacterName(enum.Enum):
DRAGUNOV = "dragunov"
EDDY = "eddy"
FENG = "feng"
HEIHACHI = "heihachi"
HWOARANG = "hwoarang"
JACK_8 = "jack-8"
JIN = "jin"
Expand Down Expand Up @@ -57,6 +58,7 @@ def url_encode(self) -> str:
CharacterName.DRAGUNOV: ["drag", "sergei", "dragu"],
CharacterName.EDDY: ["ed", "capo"],
CharacterName.FENG: ["fen"],
CharacterName.HEIHACHI: ["hei","hachi"],
CharacterName.HWOARANG: ["hwo"],
CharacterName.JACK_8: ["j8", "jack8", "jack"],
CharacterName.JIN: ["jim"],
Expand Down

0 comments on commit 96e85b0

Please sign in to comment.