Compare commits
3 commits
dbf173560d
...
5647abc732
Author | SHA1 | Date | |
---|---|---|---|
5647abc732 | |||
dd419f0f99 | |||
e066dd08de |
1 changed files with 9 additions and 6 deletions
|
@ -44,7 +44,7 @@ class Galaxy(commands.Cog):
|
|||
await ctx.send(embed=embed)
|
||||
|
||||
@commands.command()
|
||||
async def carnagerefund(self, ctx, message_id: str):
|
||||
async def carnagerefund(self, ctx: commands.Context, message_id: str):
|
||||
"""This command generates a link to refund carnage of killed ships."""
|
||||
output = f"https://info.galaxy.casa/kills/{message_id}"
|
||||
await ctx.send(f"Output link: {output}")
|
||||
|
@ -150,7 +150,7 @@ class Galaxy(commands.Cog):
|
|||
await interaction.response.send_message(embed=embed)
|
||||
|
||||
@commands.command()
|
||||
async def unix(self, ctx):
|
||||
async def unix(self, ctx: commands.Context):
|
||||
"""Posts the current Unix timestamp."""
|
||||
timestamp = int(datetime.timestamp(datetime.now()))
|
||||
embed=discord.Embed(title="Current Time", url="https://www.unixtimestamp.com/", color=await self.bot.get_embed_color(None), description=f"<t:{timestamp}>")
|
||||
|
@ -319,13 +319,16 @@ class Galaxy(commands.Cog):
|
|||
embed.add_field(name="Suggestions", value="Level 9", inline=False)
|
||||
embed.add_field(name="DJ", value="Level 11", inline=False)
|
||||
embed.add_field(name="Reaction Perms", value="Level 30", inline=False)
|
||||
elif answer.value == 'RoPro':
|
||||
embed=discord.Embed(title="RoPro", url="https://ropro.io", color=await self.bot.get_embed_color(None), description="""[RoPro](https://ropro.io) is a browser extension that tracks ROBLOX playtime, enhances your profile, and provides other useful utilities. **Please keep in mind that RoPro only tracks playtime from AFTER you install the extension.**""")
|
||||
elif answer.value == 'ropro':
|
||||
embed = discord.Embed(title="RoPro", url="https://ropro.io", color=await self.bot.get_embed_color(None), description="""[RoPro](https://ropro.io) is a browser extension that tracks ROBLOX playtime, enhances your profile, and provides other useful utilities. **Please keep in mind that RoPro only tracks playtime from AFTER you install the extension.**""")
|
||||
content = member.mention if member else None
|
||||
await interaction.response.send_message(content="Discord sucks!")
|
||||
response: discord.InteractionMessage = await interaction.original_response()
|
||||
await response.delete
|
||||
if embed_secondary:
|
||||
await interaction.response.send_message(content=content, embeds=[embed, embed_secondary])
|
||||
await interaction.channel.send(content=content, embeds=[embed, embed_secondary])
|
||||
else:
|
||||
await interaction.response.send_message(content=content, embed=embed)
|
||||
await interaction.channel.send(content=content, embed=embed)
|
||||
|
||||
# @faq.command(name="polaris_switch")
|
||||
# @checks.admin()
|
||||
|
|
Loading…
Reference in a new issue