mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-09 05:04:50 +00:00
luoa
This commit is contained in:
parent
3ebecbef51
commit
c6b1df7df7
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ async def kbbi_search(_, ctx: Client):
|
||||||
|
|
||||||
@app.on_cmd("carbon")
|
@app.on_cmd("carbon")
|
||||||
async def carbon_make(_, ctx: Client):
|
async def carbon_make(_, ctx: Client):
|
||||||
if len(ctx.command) or not ctx.reply_to_message:
|
if len(ctx.command) == 1 or not ctx.reply_to_message:
|
||||||
return await ctx.reply("Please reply text to make carbon or add text after command.")
|
return await ctx.reply("Please reply text to make carbon or add text after command.")
|
||||||
if ctx.reply_to_message.text:
|
if ctx.reply_to_message.text:
|
||||||
text = ctx.reply_to_message.text
|
text = ctx.reply_to_message.text
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue