Difference between revisions of "Roster.php"

From Bebot Wiki 2
Jump to navigationJump to search
Line 6: Line 6:
  
 
If offers several commands (be careful as some can be data destructive) :
 
If offers several commands (be careful as some can be data destructive) :
 +
 
!member = Shows the members count
 
!member = Shows the members count
 +
 
!member add <name> = Adds player <name> as a member to the bot
 
!member add <name> = Adds player <name> as a member to the bot
 +
 
!member del <name> = Removes player <name> from the member list
 
!member del <name> = Removes player <name> from the member list
 +
 
!member list = Shows the members list
 
!member list = Shows the members list
 +
 
!guest = Shows the guest list
 
!guest = Shows the guest list
 +
 
!guest add <name> = Adds player <name> as a guest to the bot
 
!guest add <name> = Adds player <name> as a guest to the bot
 +
 
!guest del <name> = Removes player <name> from the guest list
 
!guest del <name> = Removes player <name> from the guest list
 +
 
!rosterupdate = Forces the bot to run through a roster update
 
!rosterupdate = Forces the bot to run through a roster update
 +
 
!buddylist = Displays a list of all of the bots buddies
 
!buddylist = Displays a list of all of the bots buddies
 +
 
!buddylist clear = Wipes all of the bots buddies from the bots buddylist
 
!buddylist clear = Wipes all of the bots buddies from the bots buddylist
  
 
It offers somes complementary settings :
 
It offers somes complementary settings :
 +
 
AllowedTime:  Is there an exclusive hour (in server local time, from 0 to 23) you'd prefer for the bot autoupdate (use 24 otherwise to disable and allow any hour)?
 
AllowedTime:  Is there an exclusive hour (in server local time, from 0 to 23) you'd prefer for the bot autoupdate (use 24 otherwise to disable and allow any hour)?
  

Revision as of 11:45, 3 March 2022

Roster

Description

This module updates the bot database (org + whois). It loads external ressources (e.g. Funcom's XLM service).

If offers several commands (be careful as some can be data destructive) :

!member = Shows the members count

!member add <name> = Adds player <name> as a member to the bot

!member del <name> = Removes player <name> from the member list

!member list = Shows the members list

!guest = Shows the guest list

!guest add <name> = Adds player <name> as a guest to the bot

!guest del <name> = Removes player <name> from the guest list

!rosterupdate = Forces the bot to run through a roster update

!buddylist = Displays a list of all of the bots buddies

!buddylist clear = Wipes all of the bots buddies from the bots buddylist

It offers somes complementary settings :

AllowedTime: Is there an exclusive hour (in server local time, from 0 to 23) you'd prefer for the bot autoupdate (use 24 otherwise to disable and allow any hour)?

Buddylistupdate: What difference is allowed between the bots buddylist and the number of members who should be on it before a roster update is forced?

It's also linked to a core element described here http://wiki.bebot.link/index.php/Members