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 <role> [min_duration=1 day, 0:00:00] [max_duration=365 days, 0:00:00]
Add an allowed self Temp Role.
[p]temproles addjoiningtemprole <role> <duration>
Add a joining Temp Role.
[p]temproles assign <member> <role> <duration>
Assign/Add a TempRole to a member, for a specified duration.
[p]temproles autoaddtemprole <role> <duration>
Add an auto Temp Role.
[p]temproles autotemproles
List the auto Temp Roles.
[p]temproles edit <member> <role> <duration>
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 <role>
Remove an allowed self Temp Role.
[p]temproles removeautoaddtemprole <role>
Remove an auto Temp Role.
[p]temproles removejoiningtemprole <role>
Remove a joining Temp Role.
[p]temproles selfassign <role> <duration>
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 <role>
Unassign/Remove an allowed self Temp Role from yourself.
[p]temproles unassign <member> <role>
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.
[p]repo add AAA3A-cogs https://github.com/AAA3A-AAA3A/AAA3A-cogs
Now, we can install TempRoles.
[p]cog install AAA3A-cogs temproles
Once it’s installed, it is not loaded by default. Load it by running the following command:
[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!