Eat | Nerd | Manga | Sleep | Repeat
fumenoid / jhdbot Goto Github PK
View Code? Open in Web Editor NEWThe bot of John Hammond discord using discord.py
License: MIT License
The bot of John Hammond discord using discord.py
License: MIT License
Eat | Nerd | Manga | Sleep | Repeat
I've noticed that when the ban command is run JHD bot wipes messages from the user. This is an awesome feature cause it makes clean up a lot easier. However logs aren't saved when this occurs.
Would it be possible to either save this as it goes or cache them and then post to the logging channel after the fact?
Users with no roles mean they are unverified and most-likely spam accounts. A feature to automatically prune users who do not have a role will help reduce spam accounts.
Logging the before and after of edited messages would be very helpful for moderation purposes.
SSL is pretty much a must when hosting a website. It would be a good idea to add SSL to the webpage before it gets deployed.
After commit d62abb9 the readme does not reflect the required setup, nor is an example config file present for initial setup.
We can tweak the verify command to DM them with the info from finishing welcome and give them member. I think have multiple layers of captcha will make it harder to retain users. Thoughts?
With the new discord/discord py update, the logging framework needs to be adjusted:
#maintenance
channel to help correlate which log sent to the webhook correlates to which log is present in stderr.Upon posting of webhooks, I have noticed some errors. Here's a dump of the traceback from the error causing the logging webhook not to trigger successfully:
jhd-bot | data = await response
jhd-bot | File "/usr/local/lib/python3.7/site-packages/discord/webhook.py", line 243, in request
jhd-bot | raise HTTPException(r, response)
jhd-bot | discord.errors.HTTPException: 503 Service Unavailable (error code: 0): upstream connect error or disconnect/reset before headers. reset reason: overflow
The cause of this needs to be identified to help prevent it.
Logging user's joins and leaves is pretty nice feature to have in channels. It is much easier than sifting through the Audit log.
The current JHD twitter feed is going to die in the next few days as a the method we have been using is going to cease functioning. Having some method to hook this through the bot would be fantastic.
Multiban feature is desperately needed for bot raids. A multiban feature for the bot will greatly help keep bot raids more controlled.
Logging the content of deleted messages would be an extremely nice feature.
People in discord occasionally express an interest in the source code of the bot. Adding a $source
command which returns the link to this repository would be useful. Any member on the server should have permissions to invoke it.
An added feature could be embedding the users of members who have the JHD Dev Team
role as a way to mention users who have contributed to the bot. This code snippet is a good place to start on implementing that. The relevent discord.py docs are linked here for more reference.
pipenv
and Pipfile
uses significantly more resources for installing python packages as compared to requirements.txt
. The JHD Bot uses pipenv
instead of requirements.txt
. It is recommended to change from pipenv
to requirements.txt
for using a docker-based deployment.
Many users often ask about the roles in the server. The common roles can be applied by reacting in the #roles
channel; however, there are a few specialized roles such as Veteran
, CTF Creators
, CTF Developers
, etc. There is currently know public documentation on how to acquire these roles.
Adding a $roles
command which will give an overview on how to acquire each common specialized role and how to get the more general roles would be useful information to new members of the server.
Would be pretty awesome for the bot to log which invite a user joined with similar to how Auttaja does.
User (ID) joined the server using DCBHq6, which was created by NightWolf (creator id). This invite has 1 uses.
A pretty cool feature would be for for JHD bot to log joins and leaves from VC channels.
Should we consider using https://pypi.org/project/black/ across the project to achieve consistent coding styles?
The bot is not tagging banned members. This could be due to some changes Discord made after removing the old username format from 'name#dddd' to a fixed username.
A warning system that keeps tracks warns given to users and notifies when "buckets" are filled.
As Academy is geared towards beginners and in part helping user get started on the platform. (ie Web requests and javascript de obfuscation courses are a good reference for working through the invite challenge.) It therefore makes since to include information on them in the beginner command. Oh I should be able to do this.
Since we are going to start using webhooks for logging important system events it would be great to have a framework that we can use to add logging features to the bot and web app. This framework should be designed as an external module that can work with the bot and web app without changing the code.
Please make the bot convert imperial to metric automatically when it spots a certain pattern in the text.
Like the regex pattern of (\d{1,}'\d{1,}"), or other connotations of imperial.
Auttaja bot allows for invite link tracking. Add a way to implement Attaja invite tracking into the bot.
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.