Code Documentation

Classes

plgKunenaDiscord Class

class plgKunenaDiscord

plgKunenaDiscord class

__construct($subject, array $config = array())

ConstructorMethod

Parameters
  • $subject (str) –

  • $config (array) –

onKunenaGetActivity()

Get Kunena activity stream integration object.

Returns

KunenaDiscord

KunenaDiscord Class

class KunenaDiscord

KunenaDiscord class

__construct(array $webhooks, $domain)

Constructor

Parameters
  • $webhooks (array) – the configured webhooks

  • $domain (str) – the configured domain

onAfterReply($message)

Prepares and sends the messages after a reply is made

Parameters
  • $message (KunenaForumMessage) – the Kunena Message

onAfterPost($message)

Prepares and sends the messages after a new post is made

Parameters
  • $message (KunenaForumMessage) – the Kunena Message