Skip to content

Commit 41c9991

Browse files
committed
Update example.py
changes name to first_name
1 parent bcbc796 commit 41c9991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/static/website/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def start(bot, update):
55

66
def hello(bot, update):
77
bot.sendMessage(update.message.chat_id,
8-
text='Hello {0}'.format(update.message.from_user.name))
8+
text='Hello {0}'.format(update.message.from_user.first_name))
99

1010
updater = Updater('YOUR TOKEN HERE')
1111

0 commit comments

Comments
 (0)