More command documentation
This commit is contained in:
parent
dcf020860e
commit
7e42c25eb4
1 changed files with 29 additions and 7 deletions
|
@ -26,43 +26,64 @@ class DbrandCog(commands.Cog):
|
||||||
self.cache = {}
|
self.cache = {}
|
||||||
|
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db", name="skin", guild_ids=[578757004059738142]
|
base="db",
|
||||||
|
name="skin",
|
||||||
|
guild_ids=[578757004059738142],
|
||||||
|
description="See what skins are available",
|
||||||
)
|
)
|
||||||
async def _skin(self, ctx):
|
async def _skin(self, ctx):
|
||||||
await ctx.send(self.base_url + "shop/skins")
|
await ctx.send(self.base_url + "shop/skins")
|
||||||
|
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db", name="robotcamo", guild_ids=[578757004059738142]
|
base="db",
|
||||||
|
name="robotcamo",
|
||||||
|
guild_ids=[578757004059738142],
|
||||||
|
description="Get some robot camo. Make Tony Stark proud",
|
||||||
)
|
)
|
||||||
async def _camo(self, ctx):
|
async def _camo(self, ctx):
|
||||||
await ctx.send(self.base_url + "shop/special-edition/robot-camo")
|
await ctx.send(self.base_url + "shop/special-edition/robot-camo")
|
||||||
|
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db", name="grip", guild_ids=[578757004059738142]
|
base="db",
|
||||||
|
name="grip",
|
||||||
|
guild_ids=[578757004059738142],
|
||||||
|
description="See devices with Grip support",
|
||||||
)
|
)
|
||||||
async def _grip(self, ctx):
|
async def _grip(self, ctx):
|
||||||
await ctx.send(self.base_url + "shop/grip/#grip-devices")
|
await ctx.send(self.base_url + "shop/grip/#grip-devices")
|
||||||
|
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db", name="contact", guild_ids=[578757004059738142]
|
base="db",
|
||||||
|
name="contact",
|
||||||
|
guild_ids=[578757004059738142],
|
||||||
|
description="Contact support",
|
||||||
)
|
)
|
||||||
async def _contact(self, ctx):
|
async def _contact(self, ctx):
|
||||||
await ctx.send(self.base_url + "contact")
|
await ctx.send(self.base_url + "contact")
|
||||||
|
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db", name="support", guild_ids=[578757004059738142]
|
base="db",
|
||||||
|
name="support",
|
||||||
|
guild_ids=[578757004059738142],
|
||||||
|
description="Contact support",
|
||||||
)
|
)
|
||||||
async def _support(self, ctx):
|
async def _support(self, ctx):
|
||||||
await ctx.send(self.base_url + "contact")
|
await ctx.send(self.base_url + "contact")
|
||||||
|
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db", name="orderstat", guild_ids=[578757004059738142]
|
base="db",
|
||||||
|
name="orderstat",
|
||||||
|
guild_ids=[578757004059738142],
|
||||||
|
description="Get your order status",
|
||||||
)
|
)
|
||||||
async def _orderstat(self, ctx):
|
async def _orderstat(self, ctx):
|
||||||
await ctx.send(self.base_url + "order-status")
|
await ctx.send(self.base_url + "order-status")
|
||||||
|
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db", name="orders", guild_ids=[578757004059738142]
|
base="db",
|
||||||
|
name="orders",
|
||||||
|
guild_ids=[578757004059738142],
|
||||||
|
description="Get your order status",
|
||||||
)
|
)
|
||||||
async def _orders(self, ctx):
|
async def _orders(self, ctx):
|
||||||
await ctx.send(self.base_url + "order-status")
|
await ctx.send(self.base_url + "order-status")
|
||||||
|
@ -70,6 +91,7 @@ class DbrandCog(commands.Cog):
|
||||||
@cog_ext.cog_subcommand(
|
@cog_ext.cog_subcommand(
|
||||||
base="db",
|
base="db",
|
||||||
name="ship",
|
name="ship",
|
||||||
|
description="Get shipping information for your country",
|
||||||
guild_ids=[578757004059738142],
|
guild_ids=[578757004059738142],
|
||||||
options=[
|
options=[
|
||||||
(
|
(
|
||||||
|
|
Loading…
Add table
Reference in a new issue