michaelimfeld / ownbot

Easy to use python module to create private telegram bots.
MIT License
31 stars 6 forks source link

ImportError: No module named auth #8

Closed BetaUliansyah closed 8 years ago

BetaUliansyah commented 8 years ago

I tried to run the sampel code, and it raised an error:

  File "ownbot2.py", line 11, in <module>
    from ownbot.auth import requires_usergroup, assign_first_to
  File "/home/xxx/ownbot2.py", line 11, in <module>
ImportError: No module named auth
BetaUliansyah commented 8 years ago

I have found the cause. Never save a file called ownbot.py in your workspace!