Difference between revisions of "DiscordRelay.php"

From Bebot Wiki 2
Jump to navigationJump to search
(Created page with "====== Discord ====== ==== Description ==== Allows to relay to/from a discord channel. Settings for discord BotToken: Description: Bot Token obtain from https://discord....")
 
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
====== Discord ======
 
====== Discord ======
 +
  
 
==== Description ====
 
==== Description ====
Line 5: 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 12: 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 17: 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 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

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