Hobbyist chess engine developer. Currently also working on a couple of other projects.
xinthedark / mzbot-v2 Goto Github PK
View Code? Open in Web Editor NEWMZ Bot v2 for Discord!! Built with Python.
License: MIT License
MZ Bot v2 for Discord!! Built with Python.
License: MIT License
.define
now does not return anything, and instead reports an error. In the logs, it reports "List index out of range
".
This problem should be specific to Repl.it
Automatically installing packages for the user with os.system
should be avoided, as commands like pip install -r requirements.txt
aren't guaranteed to work all the time (e.g. if there is more than one version of python installed or pip
isn't in PATH). Just the requirements.txt
file is enough to indicate the dependancies and you should tell the user how to install them instead of doing it for them.
Title is self-explanatory.
When an invalid argument is supplied to the meme
command it runs indefinitely, blocking the heartbeat.
Rewrite the storage such that information is not stored in temporary variables, but in the repl.it database: https://docs.replit.com/hosting/database-faq
Right now, the .play command only accepts a url (string).
Need to add a search song feature; input string and auto search video from YouTube.
Tidy up the code; for example: remove unnecessary code and comments, and clean up the code to make it more readable.
Also improve code formatting. Readability is important.
Sadly, Heroku (which we have been using since the launch of this bot) will no longer be offering free Dynos (https://blog.heroku.com/next-chapter).
Hence, we will have to move to other hosting platforms by the end of this year.
Currently looking for alternatives.
Current hosting link on replit: https://mzbot-v2-3.jmuzhen.repl.co
Current repl link: https://replit.com/@JMuzhen/mzbot-v2-3
Currently, the bot is restarting very frequently (~70-80+ times a day), and commands seem to work for a very short period of time before they break.
This should be due to the "OpenAI moderation" feature added in 942b55b.
If there are no possible fixes, I will revert that commit.
MZ Bot has been amazing. I have developed it for more than a year now, and all sorts of useful features have been added. I also thank the Discord community for actively using and providing feedback on my bot.
However, I now announce that I will no longer be actively developing the bot.
Not that there is anything in particular that I hate. I am stopping development for a variety of reasons, for example:
To clarify: I don't think slash commands are a bad idea in general, but the way Discord has implemented slash commands shows that they have not put much thought and effort into it.
Open source projects are a great idea; I will probably be creating them and/or be contributing to them in the future. For now, it is more important that I learn some programming skills.
Bye.
TL;DR: I will no longer be a Discord bot developer. I still want to develop software though.
It is crucial that the bot knows how to handle unexpected errors.
Timeline:
However, there are many other use scenarios and errors that are not handled properly as of now. It is important that we fix these errors, making the bot more stable, before adding new functionality.
Our goal for now is simple: to ensure that the bot can run automatically and completely on its own, without any human intervention or maintenance.
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.