🆒Create custom buttons

A guide to creating buttons with the functionality of some commands

The main command for creating buttons /components

Arguments of the /components buttons add command:

The arguments "label" or "emoji" are required

Arguments of the /components buttons remove command:

Доступные команды для кнопок:

ID: cmd{get-gift}gift{giftId}

Arguments:

A guide to creating gifts

ID: cmd{quest-take-from-user}quest{questId}

Arguments:

A guide to creating quests

ID: cmd{profile}eph reply

Arguments:

ID: cmd{say}channelId{ID}messageId{ID}permission{ID}eph reply

Arguments:

The channelId and messageId arguments are used together, you can't use one

The channelId and messageId arguments are used to output a message from a specific channel. In this way, you can create a button that will output any message from any channel.

The message is output via the channelId and messageId arguments together with the buttons and files attached to this message.

If you insert a link to a message into the say command form, the bot will output a completely copied message.

Last updated