Difference between revisions of "DiscordRelay.php"

From Bebot Wiki 2
Jump to navigationJump to search
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
Allows to relay to/from a discord channel.
 
Allows to relay to/from a discord channel.
  
Settings for discord
+
 
 +
'''Settings for discord'''
 +
 
 +
Announce:
 +
Description: Should we announce logons and logoffs as controlled by the Logon module to Discord?
  
 
BotToken:   
 
BotToken:   
Line 13: Line 17:
 
ChannelId:   
 
ChannelId:   
 
Description: Discord channel ID that will be relayed from/to ?
 
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:   
 
ServerId:   
Line 18: Line 31:
  
 
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) ?
 +
 
 +
 
 +
'''Commands for discord'''
  
 
!discord connect - Tries relaying from/to the Discord channel.
 
!discord connect - Tries relaying from/to the Discord channel.
  
 
!discord disconnect - Stops relaying from/to the Discord channel.
 
!discord disconnect - Stops relaying from/to the Discord channel.
 +
  
 
===== Notes =====
 
===== Notes =====
  
Please note some modules have extended options to relay toward Discord (possibly on specific channels of mail discord server).
+
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, bots/bot/up

Latest revision as of 18:34, 6 August 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.

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

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, bots/bot/up