diff --git a/examples/create_invite_link.py b/examples/create_invite_link.py index 9413549..e7fc2ed 100644 --- a/examples/create_invite_link.py +++ b/examples/create_invite_link.py @@ -29,8 +29,4 @@ def newmember(msg): -while True: - try: - bot.infinity_polling() - except: - sleep(0.04) +bot.infinity_polling()