Difference between revisions of "DiscordRelay.php"

From Bebot Wiki 2
Jump to navigationJump to search
Line 28: Line 28:
  
 
WhatChat:
 
WhatChat:
Description: Which channel(s) should be relayed into Discord and vice versa ?
+
Description: Which channel(s) should be relayed into Discord and vice versa (user gc only for AoC) ?
  
  

Revision as of 12:08, 12 February 2024

Discord

Description

Allows to relay to/from a discord channel.


Settings for discord

Announce: Description: Should we announce logons and logoffs as controlled by the Logon module to Discord?

BotToken: Description: Bot Token obtain from https://discord.com/developers/applications ?

ChannelId: Description: Discord channel ID that will be relayed from/to ?

ignoreSyntax: Description: Is there a first letter that should make the bot ignore messages for Discord relay (leave empty if none) ?

IncLog/OutLog: Description: options to activate or desactivate relay logging.

ServerId: Description: Discord server ID for the widget online checks ?

WhatChat: Description: Which channel(s) should be relayed into Discord and vice versa (user gc only for AoC) ?


Commands for discord

!discord connect - Tries relaying from/to the Discord channel.

!discord disconnect - Stops relaying from/to the Discord channel.


Notes

Please note some modules have extended options to relay towards Discord (possibly on specific channels of main discord server).

Discord side commands available are : help, tara, viza, is, online/sm, whois, alts, level/lvl/pvp