Comments (4)
Yes, it's a discord issue. The URL is valid and should be fully linked, which is their bug. However, as the bot runs in discord, it should really produce links which can be pasted into a discord channel without knowing the secret backdoor modification needed to make them work. I chose ampersand because it doesn't change the url at all, but any good solution would produce links which can be copy-pasted/clicked in a discord channel without being broken by their formatting
from sb-slash.
This is a Discord-side issue which can be resolved by surrounding the URL with <>
, like so:
<https://www.youtube.com/watch?v=56J0wOTll5c#segments=[%7B%22segment%22:[0,7.947],%22category%22:%22intro%22,%22actionType%22:%22skip%22%7D]>
or with ()
if embedding is desired:
(https://www.youtube.com/watch?v=56J0wOTll5c#segments=[%7B%22segment%22:[0,7.947],%22category%22:%22intro%22,%22actionType%22:%22skip%22%7D])
from sb-slash.
sorry, didn't mean to close this when I saved the comment
from sb-slash.
shareunsubmitted generates a link in an embed for a reason. The problem is that youtube will nuke any parameters or the # if any of them aren't formatted correctly, making the entire thing useless. I'll see what valid parameters I can get away with
from sb-slash.
Related Issues (20)
- [FEAT] requiredSegment to preview links HOT 1
- [update] status/loadavg
- [bug] /me slash command fails when invoked in bot's private messages
- [API] getLockReason
- [feat] formatUnsubmitted HOT 1
- [feat] /browse command or endpoint as proxy for searchSegments
- VIP utils
- The bot ignores text messages
- [feat] VIP-only reverse key-value lookup HOT 1
- [feat] /vip lockcategory HOT 1
- Lookup Segments message-command doesn't return all segments HOT 1
- [feat] videostat
- modal for /formatunsubmitted
- [feat] cross-guild role lookup HOT 2
- [fix] better response handling HOT 1
- Add copypasta phrases to be triggered
- chapters support
- /me userid set reports a success even if it failed or the user is already registered HOT 3
- skipsegments byHash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sb-slash.