yellowtides / owenbot-hs

A utility bot written in Haskell for the Edinburgh Informatics Class of ‘24’s main messaging platform (Discord server).
https://yellowtid.es/owenbot-hs/
BSD 3-Clause "New" or "Revised" License
8 stars 7 forks source link

Add functionality to show and hide an events channel #25

Closed social-anthrax closed 3 years ago

social-anthrax commented 3 years ago

New Functionality

New Mod command: Mods will now be able to show and hide an events channel to simplify running weekly events so that the server doesn't get cluttered.

Added

Utils.hs

social-anthrax commented 3 years ago

Will leave branch up for now, as I would like to try and make the events channel an editable config file so that any guild can declare an events category.

social-anthrax commented 3 years ago

Looking into the possibility of getting previous roles and then using bitwise operations to modify the role rather hard setting it as is happening now.