Skip to content

Commit 892bbf0

Browse files
committed
/color EH fixed
1 parent a87c80d commit 892bbf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cogs/minecraft/color.py

+4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ async def color(self, ctx, *, color: str):
141141
@color.error
142142
async def color_error(self, ctx, error):
143143
await handle_errors(ctx, error, [
144+
{
145+
"exception": commands.MissingRequiredArgument,
146+
"msg": "Не указан цвет"
147+
},
144148
{
145149
"contains": "Wrong type",
146150
"msg": "Неверный тип цвета"

0 commit comments

Comments
 (0)