Skip to content

modnarlluf/DiscBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Presentation

This repository is a set of examples on how to use the DiscordPHP library to grant full power to your bots !

Installation

composer install
cp app/config.php.dist app/config.php   # don't forget to edit your configuration

Usage

Start the bot:

php bot.php

Commandes

  • !cat sends a random picture of a cat, thanks to the cat api.
  • !tg or !tagueule sends a link to this gif.
  • If a message contains http://onlywat.ch, the bot sends the same gif as above.
  • !ow.timeleft shows the remaining time before Overwatch's launch.
  • !dice 1d20+5 is a RPG tool to throw dice. You can use shortcuts like !dice 20+3 (⇔ !dice 1d20+3) or !dice 18 (⇔ !dice 1d18+0)
  • !nms.timeleft shows the remaining time before No Man's Sky's launch.
  • !propre sends a proper gif.
  • !nice (or juste "nice") is dark humor certified..
  • !titre ( ͡° ͜ʖ ͡°).

About

DiscBot is a Discord bot, based on the https://github.com/teamreflex/DiscordPHP library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages