mirror of
https://github.com/Anthial/Discord.py-Hy-Dice-Roller.git
synced 2026-03-15 15:51:16 +01:00
A non-interactive dice roller for Discord.py written in Hy.
- Hy 100%
| COG_dice_roller.hy | ||
| README.md | ||
| requirements.txt | ||
Discord.Py-Hy-Dice-Roller
A non-interactive dice roller for Discord.py written in Hy.
Setup
- Have a Discord.py bot (Quickstart available at https://discordpy.readthedocs.io/en/stable/quickstart.html)
- Assuming you're using the minimal quickstart bot, place the cog in the same folder as your bot.
- Add
import Hy import COG_dice_roller client.load_extension('COG_dice_roller')somewhere in the code of your bot. - Run the minimal bot.
- Type
!rd XdYor!roll_dice XdY(where X is the amount of dice and Y is the type of dice) in the Discord server chat where the bot is setup to see the dice roller in action.