Clarify parameter name for users, correct id usage for autofills.

This commit is contained in:
alwayscompiling
2022-12-02 17:02:44 -05:00
parent bed07d440b
commit 52305c0107
4 changed files with 28 additions and 20 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
Commands for managing/displaying the highscores messages.
"""
from typing import Optional, Union
from typing import Optional
import nextcord
from nextcord.ext import commands
@@ -115,7 +115,7 @@ class MessageManagementCog(commands.Cog, name="Message Management"):
async def refresh_group(
self,
interaction: nextcord.Interaction,
group_id: str = nextcord.SlashOption(description="Name of table.", required=True),
group_id: str = nextcord.SlashOption(name="Group", description="Name of Group.", required=True),
) -> None:
"""
Refreshes a table given by user.