update options for ffxiv
This commit is contained in:
parent
c447fb1f7e
commit
9537c60e4e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user