Create Discord server widgets for websites of all sizes! A simple to setup process for end-users. Server members may view or send messages into an embedded Discord channel.
Currently the embed gives you access to see every channel and their contents, we should make it so for guest users you can only view the channels the @everyone role can view, and for logged in users we follow their permissions.
Either make the sessions for Discord users more permanent (auto 3-Day remember my login) or let the users choose if they would like to keep their sessions.
Guest users will not be able to keep their logins due to a few complications and security.
Maybe have an invite command that sends the oauth link for the bot to the channel and a server command that sends an invite link to the discord server?
"is it possible to add a button for the guest login? something like this maybe.."
"From my POV it's easy to log in, its just some of my users aren't techy and because it's a radio station, they're not prepared to do much reading since they're not overly engaged or motivated, if possible, a button like that would be really great ๐"
As Jake has requested, I need to implement a way so the bot pushes information onto the database to avoid using Discord's API endpoints.
Will attempt to fix over this weekend, hang tight. (In the meantime, anyone got a server to host my bot on?)
Currently, Titan will only show discord usernames and not nicknames. The support for nicknames is currently partially implemented in the database. We just need to make it display the nick.
I'd love to be able to just show active chat in a smaller window on our website. That way it's always logged in and users can see the activity on our servers.
There would be a toggle in the server settings that can enable/disable this feature. If enabled, the user can read the channels that @everyone has access to. Otherwise if disabled, it would work the same as of now.
Similar to how discord's emoji picker to the right of the message box, we should have a similar one too. At least get it working to show the server's emojis.
Thanks for your project, i would want let you know the autoscroll down doesnt work on an android Webview. I tried both options noscroll=true and false.
Add a way for users to enter hex colors into an editor OR choose to use advanced CSS as before
Use those in the web app as CSS variables
Load base color CSS together with variables
If implemented correctly this should allow for non technical users to change colors and CSS without requiring the technical knowledge to make full themes. It should also allow for much quicker customisation by technical users as well.
It's just better ๐ . To prevent buggy code from manual editing, you should use async2rewrite along with manual editing. Just because it's the "rewrite version" doesn't mean it's unstable ๐
Anyway, thanks.
Trying to integrate for the first time but getting the following:
Access to XMLHttpRequest at 'https://discordapp.com/api/guilds/..../widget.json' from origin 'https://titanembeds.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
This is between discordapp.com and titanembeds right? There's no special header I can set to allow this?
Copy the normal dashboard but instead of only adding the servers you can manage, bot admins can manage every server, maybe also a search for server by ID/Name/Owner/Owner ID
This could have an option created (dbguild.chat_profanity ?) that would enable/disable the filter, or possibly be enhanced to add a middle option of censoring.
There are servers who don't want to give us full Administrator access. Sure, it is possible, but for now, the bot will break if not given the proper permissions. At this moment we enforce administrator permissions so that we can not worry about it when developing. But those were the days. We should probably implement what happens when specific permissions are not enabled for the bot and have it act accordingly. (Eg, if Read Messages is not allowed for the bot in the particular channel, then the channel will not show up in the embed- ever, or if Manage Server permission is not given, then the bot is not able to enable the widgets to show the online members [so no member listing show], etc)
That way our bot can appear in most server without all the functionality (yet it still works to some extent).
This issue opens the case of implementing a server defense mechanisms from whom that have a bit too much free time in their lives.
Here are the following ideas that may be implemented:
Links Management
Option to append brackets to links (so the bot won't auto embed images)
or block off the links
limit the number of links can be appended in a message
Mentions handling
Limit the amount of mentions a message can have
@everyone escaping. Will be determined via server permissions.
Fix guild dashboard -- i am not sure what happened, but apparently/probably banning/kicking broke during the database update (very subjective, still tracking down the problem)
Moderation command for discord bot (@Titan#7689 ban EndenDragon#4151 You have misbehaved! - In this format)