Archived
1
0
Fork 0

Update tweet.py

This commit is contained in:
多羅狼 2023-12-18 01:29:33 +08:00 committed by GitHub
parent 6e38ba2935
commit 4e6f65033b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,5 +5,5 @@ from bots.discord.slash_parser import slash_parser
@client.slash_command(description="Get tweet image from tweet ID or link.")
@discord.option(name="tweetid", description="The tweet ID or tweet link.")
async def tweet(ctx: discord.ApplicationContext, tweet: str):
await slash_parser(ctx, tweetid)
async def tweet(ctx: discord.ApplicationContext, tweetid: str):
await slash_parser(ctx, tweetid)