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

SourceCred Discord Plugin Params #33

Open
yeqbfgxjiq opened this issue Apr 19, 2020 · 4 comments
Open

SourceCred Discord Plugin Params #33

yeqbfgxjiq opened this issue Apr 19, 2020 · 4 comments

Comments

@yeqbfgxjiq
Copy link
Contributor

Currently the AraCred bot allows us to whitelist channels that we want to run it on, but the SourceCred Discord plugin may or may not.

@HammadJ is it possible to run the SourceCred Discord plugin only on certain channels, and if not, how could we contribute to the plugin to implement that feature?

@META-DREAMER
Copy link

Yea the discord plugin is in a weird limbo state right now, the working version is just the hacky prototype developed at ETHDenver, while the code in the main master branch of SC has a more “production ready” but incomplete version of the plugin that’s not yet usable. First step would be to get the discord plugin into master on SC in a functional state so more improvements can be made easily.

In the meantime, the quick and dirty way to do it would be to not give permissions to the discord bot to view those channels.

@yeqbfgxjiq
Copy link
Contributor Author

the quick and dirty way to do it would be to not give permissions to the discord bot to view those channels.

This sounds like a promising path forward. The easiest way to do this would be to create a super restricted role and then assign that to the bot right?

@META-DREAMER
Copy link

the quick and dirty way to do it would be to not give permissions to the discord bot to view those channels.

This sounds like a promising path forward. The easiest way to do this would be to create a super restricted role and then assign that to the bot right?

Bots will actually have their own roles auto created in discord. You just set the permissions on that Bot role

@yeqbfgxjiq
Copy link
Contributor Author

yeqbfgxjiq commented Apr 25, 2020

Tried giving bots only read permissions on certain channels but the Discord plugin still cred ranked all the channels. Then tried specifically adding the bot's role to channels and then blocking all of it's permissions except on the channel I wanted, but then the SourceCred actions run failed.

Have you gotten SourceCred Discord bots working on just a few channels in the MetaGame server and/or what's the best resource to learn more about Discord bot permissioning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants