mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-08 04:44:51 +00:00
Update misc_tools.py
This commit is contained in:
parent
c82a56bbdd
commit
f34ac50c32
1 changed files with 1 additions and 5 deletions
|
|
@ -94,11 +94,7 @@ async def kbbi_search(_, ctx: Client):
|
||||||
|
|
||||||
@app.on_cmd("carbon")
|
@app.on_cmd("carbon")
|
||||||
async def carbon_make(self: Client, ctx: Message):
|
async def carbon_make(self: Client, ctx: Message):
|
||||||
if len(ctx.command) == 1 and 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."
|
|
||||||
)
|
|
||||||
if not ctx.reply_to_message:
|
|
||||||
return await ctx.reply(
|
return await ctx.reply(
|
||||||
"Please reply text to make carbon or add text after command."
|
"Please reply text to make carbon or add text after command."
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue