theandychung / discord-weibo-bot Goto Github PK
View Code? Open in Web Editor NEWTransfers Weibo posts to Discord through Webhook
License: MIT License
Transfers Weibo posts to Discord through Webhook
License: MIT License
I followed her with Readme.md, configured and created the app, but no microblog was sent to Discord. Is there any heroku log available for querying so I can troubleshoot it?
I was looking through the dependants of kyb3r/dhooks and found yours, I was looking through the source code and found that you are using an outdated version of the library. The current version on PyPI has a different API so it will break your code when you deploy to heroku. Check the README.md and docs to see what's new. π
I get an error when trying to use with heroku.
The following error appears and does not work.
2019-05-19T06:10:15.450270+00:00 app[bot.1]: from dhooks import Webhook, Embed
2019-05-19T06:10:15.450272+00:00 app[bot.1]: ImportError: No module named dhooks
2019-05-19T06:10:15.820141+00:00 heroku[bot.1]: Starting process with command python bot/main.py
2019-05-19T06:10:16.475837+00:00 heroku[bot.1]: State changed from starting to up
2019-05-19T06:10:17.572546+00:00 heroku[bot.1]: State changed from up to crashed
2019-05-19T06:10:17.432657+00:00 app[bot.1]: Traceback (most recent call last):
2019-05-19T06:10:17.432684+00:00 app[bot.1]: File "bot/main.py", line 1, in
2019-05-19T06:10:17.432692+00:00 app[bot.1]: from dhooks import Webhook, Embed
2019-05-19T06:10:17.432694+00:00 app[bot.1]: ImportError: No module named dhooks
2019-05-19T06:10:17.557295+00:00 heroku[bot.1]: Process exited with status 1
I want you to use it by all means, is there a solution?
I'm sorry for my poor English.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.