replit-discord / all-seeing-bot Goto Github PK
View Code? Open in Web Editor NEWRepl.it discord moderation bot
Repl.it discord moderation bot
so if im getting this right, this is what we want to do
and the configuration is done through the website
we can extract information about the server owner, the server, and the servers members from the discord api
im not sure how we can verify that a user owns a particular discord server, but im sure we can do that with the discord api somehow?
assuming all that works, then we want to have a place to store these configurations (something that works if a user wants to use this bot with multiple discord servers).
i think we already have some of this in place but i just wanted to verify just in case
Is this the bot that banned me? Wow, I must need to write some code for this thing
Or, you might say: REEEEE
factoring.
Jokes aside, the current readability doesn't really make me want to help out by adding features...
Maybe use the fact discord.py has cogs? Just maybe?
BTW, I haven't really read much of the code, but hopefully this bot will turn out well :)
i got this error message , please help me to fix
GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
îș§ python main.py
Traceback (most recent call last):
File "main.py", line 6, in
from background_tasks import bg_tasks
File "/home/runner/all-seeing-bot/background_tasks.py", line 6, in
from tools.read_write import read, write
File "/home/runner/all-seeing-bot/tools/read_write.py", line 6, in
mongo_link = os.getenv('mlab_link') + '?retryWrites=false'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
for the website, there are various routes under /callback
. we would want to move those to /auth
. cannot do that right away as the callback urls are registered with the oauth provider, which needs to be changed within the discord user interface
I get this every single time I've tried to launch the bot so that I could potentially add things onto it.
I'm almost done but I need to finish up on all the checks I know I'm missing multiple of them I just forgot which ones... I have so many checks... I also need to document all of my commands better for help command.
https://github.com/replit-discord/all-seeing-bot/blob/master/Site/main.py#L96
The /auth/callback endpoint returns the argument error
without sanitizing it first.
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.