How do I get the server name from the prompt string? discord.py

Viewed 18

There was a need to get the name of the server from the line with the invitation link, where this invitation actually leads. I get this line from the form. I use the disnake library (fork discord.py , therefore, I indicated it, because there are probably no differences in this regard). How can I actually do this and can I do it at all?

1 Answers
Related