tibo-ulens / freud_bot Goto Github PK
View Code? Open in Web Editor NEWDiscord bot for the UGent psychology discord server
License: MIT License
Discord bot for the UGent psychology discord server
License: MIT License
The current website is statically rendered with very minimal caching and the css is a bit slow to load
It should be rewritten with an actual frontend framework and a better backend framework such that adding features and improving security is easier
Verification is a bit messy at the moment, and newcomers to discord seem to have issues using slash commands.
It might be clearer to have the bot DM a person right after the join the server with a message explaining the verification process and a view containing a button which will show a verification modal with a field to enter their email. Once this is submitted a new view with a button to open a modal for their verification code can be created.
Whether or not DM'ing the person is the right choice seems ambiguous, having everything occur in DMs is great for privacy but it might be overwhelming to some new users to instantly receive a message from an unknown user (the bot) after joining a server.
The alternative to this would be to have the bot send messages in a verification channel like is currently the case. In this case the bot could ping the new person in the verification channel with a message containing the required button.
It should be possible to automatically generate a /help command using pythons introspection capabilities
The regex used to validate emails is currently hardcoded for UGent emails, this should be configurable on the website to make the bot more multi-purpose
Discord supports adding buttons for interaction to a message, so it would be nice to have forward and backward button attached to the calendar image so people can move between weeks
A lot of people mess up the /verify command, perhaps it would help to have the bot respond with a warning and instructions whenever a message that isn't a /verify invocation is detected in the verification channel
At the moment only server-specific configuration options are supported, stuff like log messages and most database tables are still global
TODO: fix
Add IDs to confessions and use it in a reply mechanic
Adding/removing/modifying quotes is currently kindof a pain seeing as they're hardcoded as constants, they should be stored in the database instead to make this easier.
also add silly quotes
A function where you can schedule a message to be sent at a later date/time
The code should be better, make it better
Some commands (eg. /verify) require certain config options to be set, it would be nice to have a check decorator that checks this automatically
Configuration is just a list of different commands for now. It might be better to just have one /config
command that sends an embed with an overview of all options, and then lets you pick one to modify (presumably with emoji reactions).
The config website is a thing now so these aren't needed anymore
Most courses use a group system for their exams, add a command that lets users select this group so the /calendar
command can show the correct exam information.
Exam information will not be shown in /calendar
until this is fixec
Add a panel of toggle switches to the website to let admins decide which commands are enabled on their server
This will probably require some decorator voodoo to get the dynamic checks to work properly in python
A hardcoded dictionary that flags certain words and mentions users in a specified channel if those words get typed anywhere
Instead of a normal confession, this type of confession has an x% change of not being send anonymously
Current localisation/translation attempts are icky at best, an actual discord.py Translator should be used
Make a command to add a Discord user within the server to your "list of crushes"
If two people are on each other's "list of crushes" they get sent a DM by Freudbot saying there's mutual interest.
Also make a command to remove someone from your "list of crushes"
FreudPoints!
Add a kind of merit point system to let users give eachother kudos for explaining things or such.
To prevent spam i'd propose to use a system where users can 'store' up to eg. 5 FP to be handed out, refilling by 1 every 24 hours.
Eventually i'd like to add some sort of shop or exchange mechanic so that people can actually do something with their fake internet points.
Automatic roles for the most FreudPointulated individuals would be fun too.
Add a command that only works in DMs that lets the user post an anonymous confession to a designated discord channel
These confessions would first get posted in an admin-only channel so they can be approved or rejected in an attempt to limit spam.
Some form of ticketing system for admin contact/server suggestions/... would be nice to have
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.