hitomi/dice/__init__.py

10 lines
258 B
Python

"""Roll dice and do other randomization type operations."""
from bot import hitomi
from dice import lib
@hitomi.command()
async def choose(*choices: str):
"""Randomly select one item from multiple choices."""
await hitomi.say(lib.choose(*choices))