fix: unknown reward icons

This commit is contained in:
TrèsAbhi committed 2023-10-01 17:10:22 -05:00
1 parent 7c04243b3d
commit e5057b8c1d
3 files changed
+6 -4

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
# Blitzkrieg 1.30.0 # Blitzkrieg 1.13.0
One of the biggest updates ever! This changelog's size does not truly represent the work (and brain cells) spent. One of the biggest updates ever! This changelog's size does not truly represent the work (and brain cells) spent.
@@ -13,11 +13,11 @@ One of the biggest updates ever! This changelog's size does not truly represent
- This now includes all 3 of the needed permissions for full operation - This now includes all 3 of the needed permissions for full operation
- Also renamed the permissions to better match Discord - Also renamed the permissions to better match Discord
- Renamed `/help` to `/about` - Renamed `/help` to `/about`
- Renamed `/help about` to `/about bot`
## Fixes ## Fixes
- `/ratings` - Added `/ratings` error handling for `null` clans, players, and rewards
- Added error handling for `null` clans and/or players
## Technical Changes ## Technical Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "blitzkrieg", "name": "blitzkrieg",
"version": "1.30.0", "version": "1.13.0",
"description": "🎉 All-in-one Discord bot for everything World of Tanks Blitz", "description": "🎉 All-in-one Discord bot for everything World of Tanks Blitz",
"main": "src/server.ts", "main": "src/server.ts",
"type": "module", "type": "module",
@@ -133,6 +133,8 @@ export function Item({
? reward.vehicle.image_url ? reward.vehicle.image_url
: reward.stuff.image_url, : reward.stuff.image_url,
)} )}
width={16}
height={16}
/> />
)} )}
{reward && reward.count > 1 && ( {reward && reward.count > 1 && (