fldardenne / discordsinfbot Goto Github PK
View Code? Open in Web Editor NEWThe Discord bot of students in Computer Science at UCLouvain
The Discord bot of students in Computer Science at UCLouvain
Since the serveur is mainly french or english just a translate fr->en or en->fr
Currently, the author of pin votes is referenced as such:
It would be nice for it to be in the author section of the embed with the author's profile picture, similar to how @NovAti0n did it with the /confess
command:
The bot would attribute to each member a role, according to the channels they are subscribed to. The roles would be "bac-1", "bac-2", "bac-3", "m-1", "m-2", and would give access to a specific channel (#bac-1 / #bac-2 / #bac-3 / #m-1 / #m-2).
The role should be given following this simple rule:
Discord released the Message Components API to allow developers to add buttons/dropdowns to bots. Would be nice to rewrite each command that has reactions to include buttons.
We like to do meme contests in the Discord.
During a certain period of time, people post memes in a dedicated channel.
Whoever has acquired the most react at the end of the period has won.
To create an event we need the /contest_create <channel_id> <react> <start_date> <end_date>
command.
To see the scoreboard we need the /contest_scoreboard
command.
We could extend the functionality with other commands but this will be the subject of a future issue
It would be great to have tests, to avoid bugs when merging 😑
Being able to set custom emojis for reactions could be nice (e.g. is roast garlic or summer sausage better, with 🧄 and 🌭 as reactions users can select between).
We want to welcome new students in the right way.
The bot should send a welcome message to newcomers.
The message from the old bot is as follows, we can also imagine sending it in English. This is however optional for this issue.
Bienvenue sur le Discord SINF
Ce serveur a pour but de réunir tous les étudiants en informatique en un seul serveur Discord, l'accent est mis sur le partage et l'entraide entre étudiants.
Vous avez ici le droit de discuter, poser vos questions, donner votre avis sur un cours, partager vos tuyaux/synthèses/découvertes, recruter/chercher des personnes pour un projet (non limité aux cours), jouer, ...
Nous organisons également régulièrement des petits événements: le meme contest, distribution de stickers, concours de celui qui a le plus beau chat/setup/...
Pour l'instant, tu as seulement accès aux channels communautaires.
- Envoie la commande .registerChans en DM au @SinfBot.
- Clique sur le lien qui t'est donné.
- Une fois sur le site, coche tous les channels auxquels tu souhaites t'inscrire.
- En pied de page se trouve le bouton "Enregistrer mon choix", mais attention tu ne pourras changer qu'une seule fois toutes les 15 minutes.
Un peu comme un SinfConfession sauf que ça serait pour des offres de taff. On fait sa proposition, ça part chez les admins, ils approuvent (ou pas). Et à l'inverse de la confession on voit l'auteur
(avec images, liens tout ça)
An anonymous confession system.
Members send a DM to the bot with /confess
The admin approve it or not in a private channel (with a react) to make the anonymous confession public or not
We like to do polls in the server.
An example of a well-made command is this one https://www.npmjs.com/package/discord.js-poll
After commit cd3b339, confessions approved by the admins appears in duplicate in the confession channel.
Before this commit, the "approved by" message appeared in the confession_channel and not in the admin confession channel.
A shifumi game between 2 players.
Nothing more, it's just very funny.
I'll do it, this issue is just to reserve it.
Funny commands to have fact about obo
title
For user not familiar with discord command, it would be great to have some of the command (like register, confest, ...) available in PM
Log output:
TypeError: newMember.send is not a function
at Object.execute (/DiscordSINFBot/src/events/guildMemberAdd.js:19:22)
at Client.<anonymous> (/DiscordSINFBot/src/bot.js:64:44)
at Client.emit (node:events:513:28)
at module.exports [as GUILD_MEMBER_ADD] (/DiscordSINFBot/node_modules/discord.js/src/client/websocket/handlers/GUILD_MEMBER_ADD.js:16:14)
at WebSocketManager.handlePacket (/DiscordSINFBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:346:31)
at WebSocketShard.onPacket (/DiscordSINFBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:482:22)
at WebSocketShard.onMessage (/DiscordSINFBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:317:10)
at WebSocket.onMessage (/DiscordSINFBot/node_modules/ws/lib/event-target.js:199:18)
at WebSocket.emit (node:events:513:28)
at Receiver.receiverOnMessage (/DiscordSINFBot/node_modules/ws/lib/websocket.js:1178:20)
What was the intent of the welcome message functionality again?
The /thanks
, /version
, /elo
, /ping
commands and the welcome DM currently only have a simple message without embeds.
It would be nice to have some for each command, an example can be taken from the /poll command.
Not everything has to be done at once, PR that solves part of this issue will be accepted.
In Discord, the pin feature is reserved for roles that have permission to manage messages (i.e. delete and pin).
We want a !pin command in response to a message to pin it.
Several cases are possible:
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.