View Code? Open in Web Editor
NEW
A simple moderation and auto-mod bot for discord. This discord bot which can autopost memes at a frequent interval. Among us muting and un-muting all players in voice along with high definition maps and information for beginners. Summarizes links and gives a TLDR of articles. [NEW] - Can export chats in HTML format
License: GNU General Public License v3.0
JavaScript 98.76%
Shell 0.21%
HTML 1.03%
rufus-discord-bot's People
rufus-discord-bot's Issues
In the index.js of the project Line 4 , you imported the line-reader
package. But I've checked through out the file, you did not use that, in any part of the code. So I would suggest that, you remove the import for it in Index.js (I know you required it in other files, so I don't think you should uninstall the whole package)
Explain all necessary variables and it's functions using the comments for better code understanding
Edit: Don't touch the txt files
Currently what is missing:
Images and attachments
Message embeds
Reactions and more
What can be improved
Emoji display
Mention and channel display
Here is preview of an attachment followed by an emoji:
PS - Change in any branch is alright as the code is the same
2021-11-25T02:05:50.407584+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=tdsbotcommander.herokuapp.com request_id=9ebc165e-57a4-4d1c-87fd-3b306e1c7171 fwd="108.24.181.240" dyno= connect= service= status=503 bytes= protocol=https
2021-11-25T02:05:50.744691+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=tdsbotcommander.herokuapp.com request_id=52b958ef-5257-4c55-b6cc-3096f75cd363 fwd="108.24.181.240" dyno= connect= service= status=503 bytes= protocol=https
2021-11-25T02:05:58.660835+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=tdsbotcommander.herokuapp.com request_id=e38d8344-760d-46e3-9fdc-8fbcb86d83d7 fwd="108.24.181.240" dyno= connect= service= status=503 bytes= protocol=https
2021-11-25T02:05:58.795266+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=tdsbotcommander.herokuapp.com request_id=f988a9b4-7064-4d52-a86a-265e469c54bc fwd="108.24.181.240" dyno= connect= service= status=503 bytes= protocol=https
2021-11-25T02:06:47.232410+00:00 app[api]: Starting process with command node index.js
by user [email protected]
2021-11-25T02:06:52.631603+00:00 heroku[run.8304]: Awaiting client
2021-11-25T02:06:52.670725+00:00 heroku[run.8304]: Starting process with command node index.js
2021-11-25T02:06:52.729155+00:00 heroku[run.8304]: State changed from starting to up
2021-11-25T02:06:56.414679+00:00 heroku[run.8304]: Process exited with status 1
2021-11-25T02:06:56.536741+00:00 heroku[run.8304]: State changed from up to complete
The index.js
file is very large because of all events being included in that. A separate file for events should be created.
A quick refactoring to v13 would help improvising the bot
Is commando still the active branch? looks like it has not been updated since April but you are actively updating the master branch.