question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecate "Admin"/"Moderator" roles in favour of "TLE Admin"/"TLE Moderator" roles.

See original GitHub issue

The bot has a lot of Admin/Moderator only commands. @commands.has_role('Admin') @commands.has_any_role('Admin', 'Moderator') It’s not necessary that the one who has the “Admin/Moderator” role in the server will be the “Admin/Moderator” of the bot. A long term plan is to use “TLE Admin” and “TLE Moderator” roles.

Plans to execute this - For backward compatibility first deprecate “Admin/Moderator” roles possibly by overloading these functions and give a warning if someone runs these commands with an “Admin/Moderator” role but without “TLE Admin”/“TLE Moderator” role a mention that you won’t be able to run these commands in future.

After few months just remove these all together and allow “TLE Admin”/“TLE Moderator” to run these commands instead of “Admin”/“Moderator” roles.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
aryanc403commented, Oct 9, 2020

Meme

1reaction
Nathan13888commented, Oct 9, 2020

@aryanc403 Why don’t you submit a pull request with those changes instead?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the difference between an admin and a moderator in a ...
There are two roles for people who manage groups: admins and moderators. A badge may appear by the admin or moderator's name on...
Read more >
Differences between Admin and Moderator roles
Admins can create, edit, or delete Sessions. They can export data, update branding, manage pages, and send certificates.
Read more >
Assigning the moderator or admin roles - Forumbee Community
A user with the admin role has all moderator abilities plus the following: Configure community settings, such as adding categories; Accessing ...
Read more >
Admin vs moderator in Facebook group - Convosight
How to add/remove admin and moderator in a Facebook group; Roles and responsibilities of each of them; Possible reasons of clashes between Facebook...
Read more >
Adding & Removing Moderator Role - Support - Bloomz
By default, the admin/teacher who created the class becomes the Moderator. Other staff members can also be added as a Moderator. To assign ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found