diff --git a/app/cogs/game_apis.py b/app/cogs/game_apis.py index d2525694..54d93679 100644 --- a/app/cogs/game_apis.py +++ b/app/cogs/game_apis.py @@ -1,4 +1,4 @@ -from discord.commands import Option +from discord import option from discord.ext import commands import core_utils import discord @@ -30,7 +30,16 @@ class Games(commands.Cog): name="ffxiv", description="Query the game's API for data about a player", ) - async def ffxiv(self, ctx: commands.Context, player_name, server): + @option( + "player_name", description="Your player's first and last name", required=True + ) + @option( + "server", + description="Your player's data center", + required=True, + input_type="str", + ) + async def ffxiv(self, ctx: commands.Context, player_name: str, server: str): import ffxiv try: