zaanposni / discord-masz Goto Github PK
View Code? Open in Web Editor NEWMASZ is a selfhostable highly sophisticated moderation bot for Discord. Includes a web dashboard and a discord bot.
Home Page: https://discord.gg/5zjpzw6h3S
License: Other
MASZ is a selfhostable highly sophisticated moderation bot for Discord. Includes a web dashboard and a discord bot.
Home Page: https://discord.gg/5zjpzw6h3S
License: Other
Label field as list
moderators and user should be able to comment on modcases to add further information or (as user) take a stand.
currently done via curl requests
curl --location --request POST '127.0.0.1:5565/api/v1/configs/<guildid>' \
--header 'Content-Type: application/json' \
--header 'Cookie: masz_access_token=<your_cookie>' \
--data-raw '{
"modroleid": "id",
"adminroleid": "id",
"modPublicNotificationWebhook": "url_to_discord_webhook",
"modInternalNotificationWebhook": "url_to_discord_webhook"
}'
logging via webhook
button should filter on modcases created by current mod user
set timezone to berlin for all dockerfiles
subpage that gets its content based on a text file or similiar (so before deployment the server can save its own legal note there)
jq is required for bootstrap.sh
use info about moderator guilds to disable/enable specific buttons in frontend view
maybe use #32 for this.
this endpoint should return all modcases are registered to the current user.
it should be clear to the user that there are either no cases that match his search or simply no cases registered to his name instead of just showing a blank page.
maybe use query parameters in url to autofill certain fields
use this key in the discord user request
https://discord.com/developers/docs/resources/user#user-object
To reiceve user info and avatar url by discord userid e.g. for moderators
add this to installation guide and dialog
This endpoints needs to return the user object received by the discord api and a list of guilds that are registered to the api and the user has access to.
Add detailed description for
Also:
send direct link to modcase and (if ban) unban request
using env vars in docker-compose.yml
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.