CactusDev / CactusBot

An open source, community-written service-agnostic chat bot
MIT License
30 stars 6 forks source link

Magic command role filtering #109

Closed 2Cubed closed 7 years ago

2Cubed commented 7 years ago

Minimum magic command role requirements.

@Command.command(role=50)
async def moderator(self, *, packet: "packet"):
    return "{packet.user} is a moderator!".format(packet)
2Cubed commented 7 years ago

Done in #134.