EindBot: verschil tussen versies

Uit Hackalot - Hackerspace Eindhoven
Naar navigatie springen Naar zoeken springen
Regel 6: Regel 6:
 
|status=Alpha
 
|status=Alpha
 
}}
 
}}
 +
 +
==Intro==
 
Wat is een hackerspace zonder IRC-bot? (geef daar maar geen andwoord op :P)
 
Wat is een hackerspace zonder IRC-bot? (geef daar maar geen andwoord op :P)
  
 
EindBot is een op gozerbot gebaseerde IRCbot. Hij komt van [https://bitbucket.org/jsonbot/gozerbot]. De commando's zijn aan wijzigingen onderhevig, dus probeer het uit ''in een query'' met het commando:
 
EindBot is een op gozerbot gebaseerde IRCbot. Hij komt van [https://bitbucket.org/jsonbot/gozerbot]. De commando's zijn aan wijzigingen onderhevig, dus probeer het uit ''in een query'' met het commando:
 
  !help
 
  !help
 +
 +
==Basic ==
 +
 +
Basic know your way around.
 +
 +
1) See what permission you have
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)~
 +
::
 +
 +
  < dunk> !perms
 +
  < gozerbot> USER .. ADMIN .. MAIL .. RSS .. EVAL .. VOTE .. FORGET .. ALIAS
 +
            .. OPER .. QUOTE .. SENDRAW .. SAY
 +
 +
2) See what plugins are available
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 +
::
 +
 +
  < dunk> !list
 +
  < gozerbot> loaded plugins: alarm alias all at autoreply autovoice away
 +
              backup birthday botsnack chanperm choice code collective
 +
              convert core count country debug dig dns event fleet gcollect
 +
              googletalk grab greeting grep hello hg idle ignore infoitem
 +
              install irc jabber job karma lag links lists log mail
 +
              mailexceptions markov misc nickcapture nickserv not ops pgp
 +
              popcon probe quote relay (+1)
 +
 +
if the response is longer than 375 characters the bot will cache the output
 +
and only show the first 2 lines of 375 chars. use !more to see the following
 +
lines.
 +
 +
::
 +
 +
  < dunk> !more
 +
  < gozerbot> reload remind rest reverse rss search seen shop simplelog
 +
              size snarf tail tcp tell timer to todo topic udp umode
 +
              underauth update upgrade url user userstate webserver
 +
              wikipedia
 +
 +
3) See what commands a plugin provides
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 +
 +
An alias if it exists for a command is show in ()
 +
::
 +
 +
  <@dunk> !commands todo
 +
  < gozerbot> todo has the following commands: todo .. todo-chan (chantodo)
 +
              .. todo-chandone (chandone) .. todo-done (done) .. todo-get
 +
              .. todo-getprio (prio) .. todo-set .. todo-setprio (setprio)
 +
              .. todo-settime .. todo-time (tt) .. todo-today (today) ..
 +
              todo-tomorrow (tomorrow) .. todo-week
 +
 +
4) Get help on a plugin
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 +
 +
The help command only shows the commands you can do in a plugin.
 +
::
 +
 +
  < dunk> !help collective
 +
  < gozerbot> plugin description: manage links to other bots .. to be
 +
              accessible a bot needs to run the webserver
 +
  < gozerbot> commands: coll .. coll-exec
 +
 +
5) Get help on a command
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]]) 12 sep 2017 06:52 (UTC)
 +
::
 +
 +
  < dunk> !help meet
 +
  < gozerbot> meet is an alias for user-meet
 +
  < gozerbot> user-meet <nick> .. introduce <nick> to the bot .. alias:
 +
              meet .. examples: user-meet dunker
 +
 +
6) Use apro to find commands
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]])
 +
::
 +
 +
  < bart> !apro plug
 +
  < gozerbot> commands matching plug: 1) plug-disable 2) plug-enable 3)
 +
              plug-upgrade 4) plugins
 +
 +
7) Use pipelines
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)~
 +
 +
::
 +
 +
  <@dunk> !list | count
 +
  < gozerbot> 35
 +
 +
8) Use options
 +
12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)[[Gebruiker:Bee|Bee]] ([[Overleg gebruiker:Bee|overleg]]) 12 sep 2017 06:52 (UTC)
 +
 +
commands can have options, see the options <command> to see which are
 +
available
 +
 +
::
 +
  < bart> !options weather
 +
  < gozerbot> the following options are available for command weather:
 +
--u --speed --filter --how --chan

Versie van 12 sep 2017 08:52

NoPicture.png
Project EindBot
Name EindBot
Start 2017/08/03
Contact [[Project contact::Gebruiker:User:]V[|User:]V[]]
Website
Information De IRCbot in het #lspace kanaal op freenode
Status Alpha


Intro

Wat is een hackerspace zonder IRC-bot? (geef daar maar geen andwoord op :P)

EindBot is een op gozerbot gebaseerde IRCbot. Hij komt van [1]. De commando's zijn aan wijzigingen onderhevig, dus probeer het uit in een query met het commando:

!help

Basic

Basic know your way around.

1) See what permission you have 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)~

 < dunk> !perms
 < gozerbot> USER .. ADMIN .. MAIL .. RSS .. EVAL .. VOTE .. FORGET .. ALIAS
           .. OPER .. QUOTE .. SENDRAW .. SAY

2) See what plugins are available 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)Bee (overleg)

 < dunk> !list
 < gozerbot> loaded plugins: alarm alias all at autoreply autovoice away 
             backup birthday botsnack chanperm choice code collective 
             convert core count country debug dig dns event fleet gcollect 
             googletalk grab greeting grep hello hg idle ignore infoitem 
             install irc jabber job karma lag links lists log mail 
             mailexceptions markov misc nickcapture nickserv not ops pgp 
             popcon probe quote relay (+1)

if the response is longer than 375 characters the bot will cache the output and only show the first 2 lines of 375 chars. use !more to see the following lines.

 < dunk> !more
 < gozerbot> reload remind rest reverse rss search seen shop simplelog 
             size snarf tail tcp tell timer to todo topic udp umode 
             underauth update upgrade url user userstate webserver 
             wikipedia

3) See what commands a plugin provides 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)Bee (overleg)

An alias if it exists for a command is show in ()

 <@dunk> !commands todo
 < gozerbot> todo has the following commands: todo .. todo-chan (chantodo) 
             .. todo-chandone (chandone) .. todo-done (done) .. todo-get 
             .. todo-getprio (prio) .. todo-set .. todo-setprio (setprio) 
             .. todo-settime .. todo-time (tt) .. todo-today (today) .. 
             todo-tomorrow (tomorrow) .. todo-week

4) Get help on a plugin 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)Bee (overleg)

The help command only shows the commands you can do in a plugin.

 < dunk> !help collective
 < gozerbot> plugin description: manage links to other bots .. to be
             accessible a bot needs to run the webserver
 < gozerbot> commands: coll .. coll-exec

5) Get help on a command 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)Bee (overleg) 12 sep 2017 06:52 (UTC)

 < dunk> !help meet
 < gozerbot> meet is an alias for user-meet
 < gozerbot> user-meet <nick> .. introduce <nick> to the bot .. alias: 
             meet .. examples: user-meet dunker

6) Use apro to find commands 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)Bee (overleg)

  < bart> !apro plug
  < gozerbot> commands matching plug: 1) plug-disable 2) plug-enable 3) 
              plug-upgrade 4) plugins

7) Use pipelines 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)~

 <@dunk> !list | count
 < gozerbot> 35

8) Use options 12 sep 2017 06:52 (UTC)12 sep 2017 06:52 (UTC)Bee (overleg) 12 sep 2017 06:52 (UTC)

commands can have options, see the options <command> to see which are available

 < bart> !options weather
 < gozerbot> the following options are available for command weather:

--u --speed --filter --how --chan