SocksTheWolf / AntiScamBot

A Discord bot that shares ban lists of scammers across multiple Discord servers
https://scamguard.app/
MIT License
6 stars 3 forks source link

Post a message on join #57

Open SocksTheWolf opened 4 months ago

SocksTheWolf commented 4 months ago

Apparently this behavior is allowed, somehow. This would severely reduce the number of non-activated additions, and would allow for making user onboarding easier.

It is not clear if there is a better method for doing this other than enumerating channels and looking for a "general" chat room to post in.

It is also unclear how this would work with private rooms either, unless the API bypasses this somehow (unlikely) or the bot gives itself an admin role (which I'm not keen to). However, it might be necessary for setup purposes, then just revoke admin on the generated role.

SocksTheWolf commented 4 months ago

Possible plan:

Text channel determination order:

user4752 commented 4 months ago

Another possible option available, if the bot has the permission level / role, could be to create a temporary text channel and add the server owner and/or other relevant role users to it and send the setup messages there. Then once setup is complete delete those channels.

SocksTheWolf commented 2 months ago

We also need access to View Channels ScamGuard currently does not ask for that.