.. _temproles: ========= TempRoles ========= This is the cog guide for the ``TempRoles`` cog. This guide contains the collection of commands which you can use in the cog. Through this guide, ``[p]`` will always represent your prefix. Replace ``[p]`` with your own prefix when you use these commands in Discord. .. note:: Ensure that you are up to date by running ``[p]cog update temproles``. If there is something missing, or something that needs improving in this documentation, feel free to create an issue `here `_. This documentation is generated everytime this cog receives an update. --------------- About this cog: --------------- A cog to assign temporary roles to users, expiring after a set duration! --------- Commands: --------- Here are all the commands included in this cog (18): * ``[p]temproles`` Assign TempRoles roles to users, expiring after a set time. * ``[p]temproles addallowedselftemprole [min_duration=1 day, 0:00:00] [max_duration=365 days, 0:00:00]`` Add an allowed self Temp Role. * ``[p]temproles addjoiningtemprole `` Add a joining Temp Role. * ``[p]temproles assign `` Assign/Add a TempRole to a member, for a specified duration. * ``[p]temproles autoaddtemprole `` Add an auto Temp Role. * ``[p]temproles autotemproles`` List the auto Temp Roles. * ``[p]temproles edit `` Edit a TempRole for a member, for a specified duration. * ``[p]temproles joiningtemproles`` List the joining Temp Roles. * ``[p]temproles list [member] [role]`` List active Temp Roles on this server, for optional specified member and/or role. * ``[p]temproles logschannel [logs_channel]`` Set the logs channel for Temp Roles. * ``[p]temproles mylist`` List active Temp Roles for yourself. * ``[p]temproles removeallowedselftemprole `` Remove an allowed self Temp Role. * ``[p]temproles removeautoaddtemprole `` Remove an auto Temp Role. * ``[p]temproles removejoiningtemprole `` Remove a joining Temp Role. * ``[p]temproles selfassign `` Assign/Add an allowed self Temp Role to yourself, for a specified duration. * ``[p]temproles selflist`` Unassign/Remove an allowed self Temp Role from yourself. * ``[p]temproles selfunassign `` Unassign/Remove an allowed self Temp Role from yourself. * ``[p]temproles unassign `` Unassign/Remove a TempRole from a member. ------------ Installation ------------ If you haven't added my repo before, lets add it first. We'll call it "AAA3A-cogs" here. .. code-block:: ini [p]repo add AAA3A-cogs https://github.com/AAA3A-AAA3A/AAA3A-cogs Now, we can install TempRoles. .. code-block:: ini [p]cog install AAA3A-cogs temproles Once it's installed, it is not loaded by default. Load it by running the following command: .. code-block:: ini [p]load temproles ---------------- Further Support: ---------------- Check out my docs `here `_. Mention me in the #support_other-cogs in the `cog support server `_ if you need any help. Additionally, feel free to open an issue or pull request to this repo. -------- Credits: -------- Thanks to Kreusada for the Python code to automatically generate this documentation!