Here is for example what
!poll week
generates:
The bot responds to the following commands:
!join
to let the bot join a channel (required, admin only)!leave
to make the bot leave a channel (admin only)!poll
to create a new poll in the current channel!proposal
to suggest a proposal for a previously created poll!result
to show the results of the latest poll of the channel
Anyone may issue !poll
, !proposal
and !result
commands to the bot, see issue #3.
Join us in specifying how the bot should handle this, by describing your needs.
We're running this bot with a potato and a dream.
It is not yet ready for thousands of kids spamming a channel with commands.
It should work fine if your community is small and well-behaved.
We're not even confident it does not leak memory. So far so good… If you know how to review for memleaks, Merge Requests are most welcome!
You may be eligible for our alpha partnership program. (you probably are, we just can't publish the link for everyone until we know how the bot scales)
- Join our chat
- Ask a member (☯️) for the link to the bot
- Accept that the bot comes without guarantees and this is beta
- Follow the link to Discord's private wonderland
- Type
!join
in your channel - Consider making a donation to MieuxVoter
- Report & fix bugs, suggest & make improvements, etc.
To install this bot, clone/download this repository.
Copy the .env
to .env.local
, and edit it with your preferences and Discord secret token
that you can get over there by jumping some hoops :
https://discordapp.com/developers/applications/
cp .env .env.local
The .env.local
file is ignored by git, so you won't commit your secrets by mistake.
Edit the configuration files in /Nimda/Configuration
as needed.
Then, install Composer and run:
composer install
Once all packages are installed, run php start.php
.
- PHP version
^7.4
- PHP
PDO
extensions, andsqlite
- PHP
mbstring
extension - A discord bot token
This bot is one of many projects of MieuxVoter.fr.
- Hirondelle - Ninjaaa!
- Roipoussiere - Knight
- Vesporium - Magus
- JABirchall - Maintainer, Bot base, plugin system, timers
- Thurston - Intern, events
- CharlotteDunois
This project is licensed under GNU AGPLv3
License - see the LICENSE file for details.