Git Product home page Git Product logo

Comments (4)

AcesFullOfKings avatar AcesFullOfKings commented on July 19, 2024 1

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.

Veeno avatar Veeno commented on July 19, 2024

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.

AcesFullOfKings avatar AcesFullOfKings commented on July 19, 2024

sorry, didn't mean to close this when I saved the comment

from sb-slash.

mchangrh avatar mchangrh commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.