Difference between revisions of "DiscordRelay.php"

From Bebot Wiki 2
Jump to navigationJump to search
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:
 
Announce:
Line 22: Line 23:
 
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 ?
 +
 +
 +
'''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 =====

Revision as of 18:12, 25 March 2022

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 ?

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

WhatChat: Description: Which channel(s) should be relayed into Discord and vice versa ?


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 : is, online/sm, whois, alts, level/lvl/pvp