It’s kind of unavoidable. Worst case scenario those who use it responsibly can set up a proxy for very cheap (cheap because they aren’t overloading it!!)
Alright. Thanks for the feedback all of you by the way.
I haven’t used webhooks in a while, but I think you can send multiple embeds in one HTTP request. You could group several messages (each as a separate embed) into one request.
Actually lemme test:
{
const url = 'https://canary.discordapp.com/api/webhooks/343362987622662144/z6r8217KiNVhWxf3SbnOaX8fQ4__TptWNvApVM3VqgybOXdQOE5-sgy00D4nMio7g89-';
function embed(title, desc, color, author) {
return {
timestamp: "2017-07-11T17:27:07.299000+00:00",
title,
desc,
color,
author: {
name: author,
icon_url: 'https://cdn.discordapp.com/emojis/339896242211389450.png'
},
fields: [
{
name: 'A',
value: 'B',
inline: true
},
{
name: 'A',
value: 'B',
inline: true
},
{
name: 'A',
value: 'B',
inline: true
},
{
name: 'A',
value: 'B',
inline: true
},
]
}
}
console.log(embed('a', 'b', 0xFFFFFF, 'einsteinK'));
$.post(url, JSON.stringify({
embeds: [
embed('Title1', 'Description1', 0xFF0000, 'einsteinK'),
embed('Title2', 'Description2', 0x00FF00, 'einsteinK'),
embed('Title3', 'Description3', 0x0000FF, 'einsteinK'),
]
}), console.log);
}
I already deleted the webhook to prevent spam. thanks to antonio6643#8700 for pointing that out
We actually attempted to do that with the egg hunt this year and did not get such a message. We hit like all rate limits though so we had to remove it after a few hours.
Honestly depends on what you’re using it for, and if your game is constantly printing things in the console.
A user some months back linked me to Tigerism’s stuff, tons of coolness. This tutorial will hopefully spread the neat usage of Discord integration in ROBLOX.
Have you integrated Sentry with Roblox? If so, could you make a tutorial on that maybe?
I haven’t yet, however I’ll be sure to take a look!
Im working on a large RPG so if you make a tutorial for good error logging you’ll be my hero.
I’m gonna explore other options(Like Sentry) and then maybe post a tutorial on which to use for what games, and how to use each one. I’ll be sure to contact you when/if it’s released!
I glanced through Sentry documentation for a few languages and concluded that it probably is not possible to support sentry directly. You might need to have a middle man such as a node.js/php server (node.js is probably better for this tbh.)
Main reason for this is because their api uses http verbs that roblox doesn’t support, such as delete and put.
Authenticating will be a bit more annoying, as it doesn’t follow the easy methods.
So in conclusion, the best and fastest way is to make a middleman connect to sentry for you. You can host a reliable web server on openshift, but it’s a hassle to set up a node.js server. Php might be easier to set up.
I’m currently working on a Sentry module. Most things are possible through POST/GET, and authentication is done through the Authorization header, though it requires a specific format.
If only roblox would add support for other web features such as delete/put and socket connections. qq
At least it’s functional, even though you don’t get all the features.
But maybe you don’t need all the features…
Perhaps the issue that should be looked at is that Put / Delete should be supported?
Incase you didn’t know, ROBLOX doesn’t actually allow Discord.
Discord links and invite codes are banned from the ROBLOX site. If you link one, it can get removed.
What? Why?
I don’t think that’s true. A lot of groups/games use Discord, some of which are played by moderators themselves.
Please refer to this thread and screenshot.
https://devforum.roblox.com/t/group-description-changed-by-roblox-to-a/50506/3
That’s strange. I see a ton of groups having Discord links/invites on their descriptions.