Skip to content

Commit

Permalink
Merge pull request ( #18 )
Browse files Browse the repository at this point in the history
fixed minor indentation error (#18)
  • Loading branch information
kalanakt authored Jul 29, 2022
2 parents a0e91d5 + 484c28e commit e8be336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/help_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def footer(bot, cmd):
if (" " in cmd.text) and (cmd.text is not None):
cmdtxt, footer = cmd.text.split(" ", 1)
await add_footer(chat_id, footer)
footer = await get_footer(chat_id)
footer = await get_footer(chat_id)
await cmd.reply_text(f"your footer saved ✔. \nuse /updatefooter NEW FOOTER for update your api. \nEg:- /updatefooter Join @TMWAD For More Updates \nUse /removefooter For delete footer. \nNew Footer is \n\n{footer}")

else:
Expand All @@ -78,7 +78,7 @@ async def updatefooter(bot, cmd):
if (" " in cmd.text) and (cmd.text is not None):
cmdtxt, footer = cmd.text.split(" ", 1)
await update_footer(chat_id, footer)
footer = await get_footer(chat_id)
footer = await get_footer(chat_id)
await cmd.reply_text(f"your footer updated ✔. Use /removefooter For delete footer \nNew Footer is \n\n{footer}")

else:
Expand Down

0 comments on commit e8be336

Please sign in to comment.