ToogaInc / ToogaBooga

An open-source Realm of the Mad God Discord chat bot designed for advanced cross-verification, moderation, and raid management.
MIT License
8 stars 4 forks source link

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

Open Deaththth opened 2 years ago

Deaththth commented 2 years ago

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

ewang2002 commented 2 years ago

~why is this needed again?~ answered via discord

saifalushi1 commented 2 years ago

who do we want able to use this command?

ewang2002 commented 2 years ago

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

saifalushi1 commented 2 years ago

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

ewang2002 commented 2 years ago

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 commented 2 years ago

wait you already have a var for this

saifalushi1 commented 2 years ago

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

ewang2002 commented 2 years ago

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

saifalushi1 commented 2 years ago

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

ewang2002 commented 2 years ago

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