Skip to content

Commit

Permalink
update some strings
Browse files Browse the repository at this point in the history
Signed-off-by: starry69 <starry369126@outlook.com>
  • Loading branch information
starry-shivam committed May 10, 2020
1 parent 226a205 commit 28d191d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions starrybot.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

from telegram.ext import(
Updater, CommandHandler,
run_async, Filters, Defaults
)
run_async, Filters, Defaults)

from telegram import(
ChatAction, ParseMode,
Expand Down Expand Up @@ -88,7 +87,10 @@ def helper(update, context):
# Log Errors caused by Updates

def error(update, context):
LOGGER.warning('Update "%s" caused error "%s"', update, context.error)
try:
raise context.error
finally:
LOGGER.warning('Update "%s" caused error "%s"', update, context.error)

# WALL FUNCTIONS

Expand Down Expand Up @@ -363,11 +365,12 @@ def about(update, context):
)
}
I'm a simple wallpapers bot which
gives you stunning free images & royalty free stock wallpapers from <a href="https://pixabay.com/">pixabay</a>.
gives you stunning free images & royalty free stock wallpapers from <a href="https://pixabay.com/">pixabay</a> API.
I'm written on Python3 using PTB library by this <a href="tg://user?id=894380120">person</a>.
Contact him if you're having any trouble using me!
"""
You can checkout my source code <a href="https://github.com/starry69/WallsBot">here</a> and drop a star if you enjoyed using me!
Feel free to contact my creator if you're having any trouble or found some rough edge inside me :)"""
context.bot.sendMessage(chat.id, ABOUT_STR)

@run_async
Expand Down

0 comments on commit 28d191d

Please sign in to comment.