Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command to show all blacklists and active suspensions in the server #112

Open
Deaththth opened this issue Feb 27, 2022 · 10 comments
Open

Command to show all blacklists and active suspensions in the server #112

Deaththth opened this issue Feb 27, 2022 · 10 comments
Assignees
Labels
c-moderation Category: Moderation-related it-enhancement Issue Type: Enhancement (new feature or request)

Comments

@Deaththth
Copy link

Only show the info needed:
For blacklist only show ign and blacklistid
For suspension show ign/userid and suspension end

@Deaththth Deaththth added it-enhancement Issue Type: Enhancement (new feature or request) minor labels Feb 27, 2022
@ewang2002
Copy link
Member

ewang2002 commented Mar 10, 2022

why is this needed again? answered via discord

@saifalushi1
Copy link
Contributor

who do we want able to use this command?

@saifalushi1 saifalushi1 self-assigned this Mar 30, 2022
@ewang2002
Copy link
Member

Probably helpers, securities, moderators, raid leaders (not almost leaders) and above

@saifalushi1
Copy link
Contributor

ok im just tryna figure out what variables you are using like "realmname" to run queries to the db.

@ewang2002
Copy link
Member

See if the other files help — a lot of our code essentially is just copied from other code files. My time the next few days is severely limited due to school; see if @dmansdman can help

@saifalushi1
Copy link
Contributor

wait you already have a var for this

  • A list of all blacklisted users.
    *
    * @type {IBlacklistedUser[]}
    */
    blacklistedUsers: IBlacklistedUser[];

@saifalushi1
Copy link
Contributor

im gonna write up a dummy command to see what it returns and if anything just tweak the returned data

@ewang2002
Copy link
Member

Yeah we have that but you need to make it readable for the general user — using an embed or something.

@saifalushi1
Copy link
Contributor

ok ill discuss with dman to see if it makes more sense to use that or just run a .findAll query

@ewang2002
Copy link
Member

@saifalushi1 if you want to add a show all suspend command, go for it

@ewang2002 ewang2002 added c-moderation Category: Moderation-related and removed minor labels Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-moderation Category: Moderation-related it-enhancement Issue Type: Enhancement (new feature or request)
Projects
None yet
Development

No branches or pull requests

3 participants