fix: remove get user cmd (for now)

This commit is contained in:
rainy 2024-08-11 13:22:50 -07:00
parent 9d15fbb0eb
commit 1fe28d710e
1 changed files with 0 additions and 8 deletions

View File

@ -18,12 +18,4 @@ async def get_posts(inter: disnake.CommandInteraction):
await inter.edit_original_response(embeds=embed_list)
await sot.close()
@plugin.slash_command(description="fetches info on a Soteria user")
async def get_user(inter: disnake.CommandInteraction, id: str):
user = await soteria.User.fetch(sot, int(id))
em = disnake.Embed(title=f"Info For {user.username}", color=disnake.Color.blue())
em.add_field(name="Username", value=user.username)
em.add_field(name="Display Name", value=user.display_name)
await inter.response.send_message(embed=em)
setup, teardown = plugin.create_extension_handlers()