Giter Club home page Giter Club logo

codepracticebot's People

Contributors

claireyao123 avatar hdcola avatar ntcie avatar parkerxchen avatar sichengthebest avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

codepracticebot's Issues

机器人出现了bug tw.json找不到

Mar 6 11:16:10 hdpi python[12592]: File "/home/pi/CodePracticeBot/bot.py", line 48, in
Mar 6 11:16:10 hdpi python[12592]: from cmdproc import youtubemusic,game24
Mar 6 11:16:10 hdpi python[12592]: File "/home/pi/CodePracticeBot/cmdproc/game24.py", line 2, in
Mar 6 11:16:10 hdpi python[12592]: from cmdproc import twconfig
Mar 6 11:16:10 hdpi python[12592]: File "/home/pi/CodePracticeBot/cmdproc/twconfig.py", line 16, in
Mar 6 11:16:10 hdpi python[12592]: CONFIG = load_config()
Mar 6 11:16:10 hdpi python[12592]: File "/home/pi/CodePracticeBot/cmdproc/twconfig.py", line 5, in load_config
Mar 6 11:16:10 hdpi python[12592]: with open(config_file, 'r') as configfile:
Mar 6 11:16:10 hdpi python[12592]: FileNotFoundError: [Errno 2] No such file or directory: 'tw.json'

game24出了error image找不到

No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/Users/hd/work/py3/lib/python3.9/site-packages/telegram/ext/dispatcher.py", line 432, in process_update
handler.handle_update(update, self, check, context)
File "/Users/hd/work/py3/lib/python3.9/site-packages/telegram/ext/handler.py", line 156, in handle_update
return self.callback(update, context)
File "/Users/hd/work/CodePracticeBot/cmdproc/game24.py", line 171, in start
context.bot.send_photo(chatid, photo=open('imgs/re.png', 'rb'), caption= "⚠️ 温馨提示:请把 Telegram 自动表情给关掉!")
FileNotFoundError: [Errno 2] No such file or directory: '/Users/Snipro/work/24gamebot/Images/re.png'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.