Editing DiscordRelay.php

From Bebot Wiki 2
Jump to navigationJump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
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 17: Line 13:
 
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 31: Line 18:
  
 
WhatChat:
 
WhatChat:
Description: Which channel(s) should be relayed into Discord and vice versa (user gc only for AoC) ?
+
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 =====
  
Please note some modules have extended options to relay towards Discord (possibly on specific channels of main discord server).
+
Please note some modules have extended options to relay toward Discord (possibly on specific channels of mail discord server).
 
 
Discord side commands available are : help, tara, viza, is, online/sm, whois, alts, level/lvl/pvp
 

Please note that all contributions to Bebot Wiki 2 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Bebot Wiki 2:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)