-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add banners & discord configs and send through query #831
Conversation
discord connector already uses the "discord": {
"bot_token": "MYBOTTOKEN"
} |
So obviously Discord is the chat program du-jour, but there are others, notably Telegram. It would be good if this was more generic, so you could specify some meta-data for any program - name, link, graphics, etc. Even an array of them. Rather than hard-coding to just one. |
As long as the leaf properties are different it wouldn't |
That's why I mentioned telegram. It and VK are still very popular alternatives in Russia and other places. |
I'll do it in another PR, merging this one as of now |
Current format for configs are: {
"discord": {
"invite": "https://discord.gg/samp"
},
"banners": {
"light": "https://github.com/openmultiplayer/graphics/blob/master/rendered/wordmark-inverse.png?raw=true",
"dark": "https://github.com/openmultiplayer/graphics/blob/master/rendered/wordmark-inverse.png?raw=true"
}
} |
new configs are now available, example:
then with query
o
, instead of sending same receiving back, we send these.max. banner url length is 120 chars.
max. discord url length is 50 chars.