2017 © Pedro Peláez
 

library module-factoids

Factoids module for WildPHP

image

wildphp/module-factoids

Factoids module for WildPHP

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

Factoids Module

Build Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads, (*1)

This module provides basic factoids support for WildPHP. It allows you to store small bits of information to recall later., (*2)

System Requirements

If your setup can run the main bot, it can run this module as well., (*3)

Installation

To install this module, we will use composer:, (*4)

composer require wildphp/module-factoids, (*5)

That will install all required files for the module. In order to activate the module, add the following line to your modules array in config.neon:, (*6)

- WildPHP\Modules\Factoids\Factoids

The bot will run the module the next time it is started., (*7)

Usage

A target can be either a channel name or global (for factoids which exist everywhere). If no target is specified, most commands assume the current channel., (*8)

For standard users, the following commands are available:, (*9)

  • lsfactoids ([target])
  • factoidinfo ([target]) [key]

Standard users may also invoke any factoid., (*10)

Authenticated users have access to the following commands: * addfactoid ([target]) [key] [value] * Required permission: addfactoid * delfactoid ([target]) [key] * Required permission: delfactoid * editfactoid ([target]) [key] [value] * Required permission: editfactoid * movefactoid [key] ([source target]) [destination target] * Required permission: movefactoid * renamefactoid ([target]) [key] [new key] * Required permission: renamefactoid, (*11)

Channel-bound factoids will always override global factoids of the same name., (*12)

Saving factoids

The module will automatically save factoid state in JSON format, to a storage named factoids.dat These factoids will be restored on the next startup., (*13)

License

This module is licensed under the MIT license. Please see LICENSE to read it., (*14)

The Versions

27/07 2018

dev-master

9999999-dev

Factoids module for WildPHP

  Sources   Download

MIT GPL-3.0

The Requires

 

02/09 2017

dev-newcommands

dev-newcommands

Factoids module for WildPHP

  Sources   Download

MIT

The Requires

 

29/07 2017

v3.0.0-beta.1

3.0.0.0-beta1

Factoids module for WildPHP

  Sources   Download

MIT

The Requires

 

20/12 2015
20/12 2015