Giter Club home page Giter Club logo

freud_bot's People

Contributors

emielverbeeren avatar tibo-ulens avatar

Watchers

 avatar

freud_bot's Issues

Rewrite the website

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

Better permissions, errors, and logging

  • The permission system is a bit limited at the moment, maybe add a hierarchical system?
  • Error messages are just whatever python spits out, ideally these would have a better representation
  • The event system could probably be improved, it's fairly clunky to use
  • Implement custom error types for things like missing config options
  • Some errors are still not caught (eg. in views), catch them

Better verification

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.

Email regex configuration

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

Add buttons to change calendar week

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

Support multiple servers properly

At the moment only server-specific configuration options are supported, stuff like log messages and most database tables are still global

TODO: fix

Store quotes in the database

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

Scheduling messages

A function where you can schedule a message to be sent at a later date/time

Rework configuration

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).

Add command to select course group

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

Dynamically enable/disable commands

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

Actual localisation

Current localisation/translation attempts are icky at best, an actual discord.py Translator should be used

see this

Freudbot Matchmaking

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

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 confession command

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.

Add a ticketing system

Some form of ticketing system for admin contact/server suggestions/... would be nice to have

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.