Difference between revisions of "DiscordRelay.php"

From Bebot Wiki 2
Jump to navigationJump to search
 
Line 23: Line 23:
 
IncLog/OutLog:
 
IncLog/OutLog:
 
Description: options to activate or desactivate relay logging.
 
Description: options to activate or desactivate relay logging.
 +
 +
PrivRelay:
 +
Description: Should the bot be relaying private join/leave to Discord ?
  
 
ServerId:   
 
ServerId:   

Latest revision as of 20:46, 25 March 2024

Discord[edit]

Description[edit]

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.

PrivRelay: Description: Should the bot be relaying private join/leave to Discord ?

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[edit]

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