Ошибка с аргументом self
class LinkToParty(disnake.ui.View):
def __init__(self):
super().__init__()
self.add_item(disnake.ui.Button(label="Join to us!", url = ' '))
Command raised an exception: TypeError: View.to_components() missing 1 required positional argument: 'self'
Источник: Stack Overflow на русском