File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 22
33Observes [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) standard and [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) convention.
44
5+ ## [ 3.0.2] - 07-16-2024
6+
7+ ### Fixed
8+
9+ - bug where custom slash commands would return error due to emoji map issues
10+
511## [ 3.0.1] - 07-16-2024
612
713### Changed
@@ -119,6 +125,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
119125
120126- modified readme
121127
128+ [ 3.0.2 ] : https://github.com/A-Baji/discordAI/compare/3.0.1...3.0.2
122129[ 3.0.1 ] : https://github.com/A-Baji/discordAI/compare/3.0.0...3.0.1
123130[ 3.0.0 ] : https://github.com/A-Baji/discordAI/compare/2.0.1...3.0.0
124131[ 2.0.1 ] : https://github.com/A-Baji/discordAI/compare/1.3.2...2.0.1
Original file line number Diff line number Diff line change 1515
1616def replace_emoji(emoji_name: str, emoji_map):
1717 emoji = emoji_name.lower()
18- emoji_id = emoji_map[emoji]["id"]
19- emoji_name = emoji_map[emoji]["name"]
20- is_animated = emoji_map[emoji]["is_animated"]
2118 if emoji in emoji_map:
19+ emoji_id = emoji_map[emoji]["id"]
20+ emoji_name = emoji_map[emoji]["name"]
21+ is_animated = emoji_map[emoji]["is_animated"]
2222 return f"<{{'a' if is_animated else ''}}:{{emoji_name}}:{{emoji_id}}>"
2323 else:
2424 return f":{{emoji_name}}:"
Original file line number Diff line number Diff line change 1- __version__ = "3.0.1 "
1+ __version__ = "3.0.2 "
You can’t perform that action at this time.
0 commit comments