proc buttonRow(btns: varargs[Button]): MessageComponent = result = MessageComponent( kind: ActionRow, components: @undr ) if btns.len > 0: checkActionRow result var nonFunctioningButtonRow = buttonRow( newButton("Yes", "yesBt", ButtonStyle.Link, disabled = true), newButton("No", "noBt", ButtonStyle.Link, disabled = true) )