#components v2 its just on js ? ??
17 messages · Page 1 of 1 (latest)
?
guide suggestion for @amber pond:
Container
A Container is a layout component which groups its child components inside a visually distinct rounded box with an optional accent color on the left, similar to the message embed look. Unlike embeds, not specifying a color will make the left side of the Container component match the background color. You can mark Container components as spoiler, which blurs all content inside the container. You can use the ContainerBuilder class to easily create a Container component. - a Separator component;...
and its not just on js it is avaible on ts too
If it is in the library it is in both js and ts. what makes you ask?
its not avliable on py ?
not ts
discord.js is JavaScript library with support for Typescript. It has no relation to python
ok.
All parts of the library are available in typescript
Which includes components V2 as linked by coroutine
But to answer your question
An API doesn't care what language you use. It's just a way to send/receive data. Anything that works in JS/TS will work on Python.
It only matters if the library you're using supports that part of the API. But DJS (the library of this server) supports the whole API
**okay thank u very much , im making a discord music bot using python and i want to customize the embeds i want to check for the avalbilaty for this library **
Music bots are 99% of the time against the TOS, and are typically also illegal and can result in you being sued for copyright violations
Where are you licensing your music from? Or are you using exclusively non-copyright music that allows commercial distribution?
im using exclusively non copyright music that allows commercial distribution
Either way, please ask on the correct server.