Chat Shortcode

This is a self-closing shortcode. It outputs messages from a selected channel. You can set shortcode attributes to alter its behavior.

color - will allow you to select a visual style to display on the website. Available options are light and dark.

title - is a text written in the widget's header, next to the icon.

If you remove the title, the header will disappear.

channel - this is a source channel from which the shortcode takes messages. Put here it's ID. Here you can learn how to find channel ID.

pinned-messages - will allow you to output only pinned messages from the channel. Available options are noFilter and onlyPinned.

tenor-messages - will allow you to download tenner video memes and show them in the chat. Available options are video and link.

Tener videos are played automatically. This may influence the total traffic your visitors will spend browsing your website.

image-messages - will allow you to display images from the chat. If this is disabled, but links are permitted, images will be shown as links. Available options are image and link.

custom-emoji-messages - will allow you to display images of custom emojis in messages. Available options are image and hide.

link - this will allow you to display images and Tenor as text links if they are disabled. Links will be displayed as text or as active links. Available options are link, text, and hide.

quantity - this is the number of messages that will be displayed. The minimum quantity is 1, and the maximum is 50

height - this number, in pixels, will limit the maximum height of the message area. If messages need more space, then a scroll will appear. The minimum height is 200.

footer-text - this is a text in the footer of the widget. It is a call to action near an invitation button.

link - this is the channel to which the visitor will be joined if he clicks the invitation button. Put here it's ID. Here you can learn how to find channel ID.

If you remove the footer text and the invite, then the footer will disappear.

Shortcode example:

[argus-discord-chat color="dark" channel="860842180330782751" title="Chat" pinned-messages="noFilter" tenor-messages="video" image-messages="image" link-messages="link" custom-emoji-messages="image" quantity="15" height="300" link="860842180330782751" footer-text="Join Us"]

Last updated