User Tools

Site Tools


community:using-pinesol_green

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
community:using-pinesol_green [2014/03/31 13:53] – [General Usage Commands] gsamscommunity:using-pinesol_green [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Using pinesol_green in the Evergreen IRC channel DRAFT======+====== Using pinesol in the Evergreen IRC channel======
  
-pinesol_green green is considered a "concierge bot," or program that listens for commands sent to it through IRC. pinesol_green then takes specific actions for the commands it receives.+pinesol green is considered a "concierge bot," or program that listens for commands sent to it through IRC. pinesol then takes specific actions for the commands it receives.
  
  
Line 9: Line 9:
 ===== General Usage Commands ===== ===== General Usage Commands =====
  
-===Getting a list of available pinesol_green commands===+//When exploring these commands, we recommend chatting with pinesol privately. This prevents the main channel from getting all of your back and forth with the bot.// 
 + 
 +===Getting a list of available pinesol commands===
  
 //Example question directed at kmlussier// //Example question directed at kmlussier//
Line 16: Line 18:
 </code> </code>
  
-//Here is what pinesol_green will reply with//+//Here is what pinesol will reply with//
 <code> <code>
 your_irc_nickname: Admin, Anagram, Assorted2, Blame, Bugtracker, Channel, ChannelLogger, Config, Dunno, Encyclopedia, Games, Git, Herald, Insult, Karma, Later, LoveHate, MARC, Math, MeetBot, Misc, Note, Owner, Praise, Quote, RSS, Reply, Seen, Status, Time, Todo, Twitter, User, and Weather your_irc_nickname: Admin, Anagram, Assorted2, Blame, Bugtracker, Channel, ChannelLogger, Config, Dunno, Encyclopedia, Games, Git, Herald, Insult, Karma, Later, LoveHate, MARC, Math, MeetBot, Misc, Note, Owner, Praise, Quote, RSS, Reply, Seen, Status, Time, Todo, Twitter, User, and Weather
Line 29: Line 31:
 </code> </code>
  
-//Here is what pinesol_green will reply with//+//Here is what pinesol will reply with//
 <code> <code>
 your_irc_nickname: (marc look up field or field/subfield combo in MARC docs) -- eg. @marc 245 or @marc 245 a your_irc_nickname: (marc look up field or field/subfield combo in MARC docs) -- eg. @marc 245 or @marc 245 a
Line 43: Line 45:
 </code> </code>
  
-//Here is what pinesol_green will reply with//+//Here is what pinesol will reply with//
 <code> <code>
 your_irc_nickname: The information needed to locate and access an electronic resource. The field may be used in a bibliographic record for a resource when that resource or a subset of it is available electronically. In addition, it may be used to locate and access an electronic version of a non-electronic resource described in the bibliographic record or a related electronic resource. (Repeatable) (1 more message) your_irc_nickname: The information needed to locate and access an electronic resource. The field may be used in a bibliographic record for a resource when that resource or a subset of it is available electronically. In addition, it may be used to locate and access an electronic version of a non-electronic resource described in the bibliographic record or a related electronic resource. (Repeatable) (1 more message)
 </code> </code>
  
-//Use the @more command to get additional information from pinesol_green of the previous message ends with "(1 more message)"//+//Use the @more command to get additional information from pinesol of the previous message ends with "(1 more message)"//
 <code> <code>
 @more @more
 </code> </code>
  
-//Here is what pinesol_green will reply with//+//Here is what pinesol will reply with//
 <code> <code>
 your_irc_nickname: [a,b,c,d,f,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,2,3,6,8] your_irc_nickname: [a,b,c,d,f,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,2,3,6,8]
 </code> </code>
  
-===Getting Weather Information+===Send a note to someone for later=== 
 + 
 +//Use "@later tell" to send a note to someone later// 
 +<code> 
 +@later tell <username> Could you take a look into my bug fix? 
 +</code> 
 + 
 +//pinesol will reply with this// 
 +<code> 
 +<your username>: The operation succeeded. 
 +</code> 
 + 
 +//If the user is currently logged into the channel they will receive the message immediately, if they are not they will receive the message after logging in and sending a command.// 
 + 
 +===Checking notes=== 
 + 
 +//You can check who has a note waiting for them using @notes// 
 +<code> 
 +@notes <username> 
 +</code> 
 + 
 +//If you don't supply a username it will show you who all has a note waiting, but if you do it will show you what notes are waiting for that user.  Here is without a username.// 
 +<code> 
 +I currently have notes waiting for _An, ackaca, actually,, AlexBoardman, anyzh, capeschools, Chris2222, community_irc_meeting, dat, davit, dbs,, dbs:, edbarrett, eeevil:, EGUEST089, emrikol^, faizi, figu, garren_h2, GDCPLG, geonetis, gett, gmcharlt, gmcharlt:, Guest71726, htrap, huginn, iarnc, jhaig_, jmeeuwen_:, Kathleen_:, kimilahtio, kivilaht3o, kmlussier:, kuku, Lakeside, lemma, (1 more message) 
 +</code> 
 + 
 +//And with a username.// 
 +<code> 
 +Sent (some amount of time) ago: <username> Could you take a look into my bug fix? 
 +</code> 
 + 
 +===Getting Weather Information===
  
 //Use the @weather or @wunder command to get information about weather at the chosen location.  Example provided by gsams.// //Use the @weather or @wunder command to get information about weather at the chosen location.  Example provided by gsams.//
Line 65: Line 98:
 </code> </code>
  
-//Here is what pinesol_green will reply with//+//Here is what pinesol will reply with//
 <code> <code>
 The current temperature in Roanoke, Texas is 61.2°F (9:07 AM CDT on March 31, 2014). Conditions: Mostly Cloudy. Humidity: 81%. Dew Point: 55.4°F. Pressure: 29.90 in 1012 hPa (Steady). The current temperature in Roanoke, Texas is 61.2°F (9:07 AM CDT on March 31, 2014). Conditions: Mostly Cloudy. Humidity: 81%. Dew Point: 55.4°F. Pressure: 29.90 in 1012 hPa (Steady).
 +</code>
 +
 +===Launchpad Bug Tracker Integration===
 +
 +//If you mention a Launchpad bug number in a certain way, pinesol will reply back with more information about that bug.  There are several different formats that it looks for.  Generally include the prefix "bug, bugs, lp or launchpad" and then the bug number with or without #.  Multiple bugs can be listed with a comma separating them.//
 +<code>
 +Please look at bug 1484655.
 +What about lp 1484655.
 +Take a look at these two bugs 1484655, 1485240
 +I think that launchpad #1110817 should be fixed by now.
 +</code>
 +
 +//pinesol will respond with something like this//
 +<code>
 +Launchpad bug 1484655 in Evergreen 2.8 "ftp://ftp.mozilla.org has moved to http://archive.mozilla.org" (affected: 1, heat: 6) [High,Fix committed] https://launchpad.net/bugs/1484655
 +</code>
 +
 +===Git Repository Integration===
 +//If you mention a git commit hash from the evergreen, opensrf, evergreen_website or sipserver repositories then pinesol will give you more information about that commit.  You need to include at least 6 characters of the hash.//
 +
 +<code>
 +I think the problem is in commit 8d14cfb562d8e72e25a7d90cbb5370bf904ccf1c
 +No, it is actually in commit 8d14cf
 +</code>
 +
 +//pinesol will respond with something like://
 +<code>
 +<pinesol> [evergreen|Jason Stephenson] LP 1484655: ftp://ftp.mozilla.org moved to http://archive.mozilla.org - <http://git.evergreen-ils.org/?p=Evergreen.git;a=commit;h=8d14cfb>
 </code> </code>
 ===== Advanced Usage Commands ===== ===== Advanced Usage Commands =====
  
 +===== Fun Commands =====
 +
 +===Get a drink from the bartender===
 +
 +//Use @bartender to receive a drink or send a drink to another person.//
 +<code>
 +@bartender <username>
 +</code>
 +
 +//Here is what pinesol can reply with.//
 +<code>
 +pinesol fills a pint glass with Ruedrich's Red Seal Ale, and sends it sliding down the bar to <username> (http://beeradvocate.com/beer/profile/112/410/)
 +</code>
 +
 +//There are a variety of drinks available from the bartender, this was just an example of one.//
 +
 +===Have a nice cup of coffee or tea===
 +
 +//Use @coffee or @tea to receive a cup/pot of coffer/tea or send it to another person.//
 +<code>
 +@tea <username>
 +@coffee <username>
 +</code>
 +
 +//Here is what pinesol can reply with for @tea.//
 +<code>
 +pinesol brews and pours a pot of Liu An Gua Pian Green Tea, and sends it sliding down the bar to <username> (http://ratetea.com/tea/teavivre/liu-an-gua-pian-green-tea/6492/)
 +</code>
 +//And @coffee//
 +<code>
 +pinesol brews and pours a cup of India AA Elkhill Estate, and sends it sliding down the bar to <username>
 +</code>
 +
 +===Create a D&D/Gamma World/Librarian/Developer Character Sheet===
 +
 +//pinesol can randomly generate character stats in a variety of formats.//
 +<code>
 +@dnd
 +@gamma
 +@librarian
 +@developer
 +</code>
 +
 +//pinesol will respond with the following for @dnd://
 +<code>
 +strength:13 dexterity:10 constitution:11 intelligence:16 wisdom:18 charisma:16
 +</code>
 +//@gamma//
 +<code>
 +Charisma:12, Constitution:16, Dexterity:10, Intelligence:14, Mental Strength:10, Physical Strength:16
 +</code>
 +//@librarian//
 +<code>
 +Management:10, Cataloging:11, Acquisitions:13, Reference:12, Circulation:9, Systems:15, Research:13, Custodial:8
 +</code>
 +//@developer//
 +<code>
 +Communication:8, BigPicture:9, DetailOriented:10, KungFu:8, GetsStuffDone:6, FlakeFactor:13, JavaAvoidance:14
 +</code>
 +
 +===Get sorted by the sorting hat!===
 +
 +//@sortinghat will sort you into a house//
 +<code>
 +@sortinghat
 +</code>
 +
 +//pinesol replied to gsams with://
 +<code>
 +Hmm... gsams... Let me see now... GRYFFINDOR!
 +</code>
 +
 +===Quote Database===
 +
 +==Seeing the quote commands==
 +
 +//@list quote will show a list of sub commands for the quote plug-in//
 +
 +<code>
 +@list quote
 +</code>
 +
 +//pinesol replies//
 +<code>
 +add, change, get, random, remove, replace, search, and stats
 +</code>
 +
 +==Adding a quote to the database==
 +
 +<code>
 +@quote add <Bmagic> It's as if millions of bugs all cried out at once, and were silenced.
 +</code>
 +
 +==Search the database==
 +
 +<code>
 +@quote search Bmagic
 +</code>
 +
 +//pinesol replies//
 +<code>
 +4 found: #149: "< Bmagic> my favorite viruses are the ones...", #172: "< Bmagic> I like to keep my systems at a power...", #179: "<Bmagic> It's amazing how often 30 days comes...", and #213: "<Bmagic> It's as if millions of bugs all cried..."
 +</code>
 +
 +==Retrieve a specific quote by ID==
 +
 +<code>
 +@quote get 149
 +</code>
 +
 +//pinesol replies//
 +<code>
 +Quote #149: "< Bmagic> my favorite viruses are the ones claiming to be the cure" (added by csharp at 10:32 AM, March 22, 2016)
 +</code>
 +
 +
 +===Using MeetBot for IRC Meetings===
 +The Meetbot is documented at [[community:using-meetbot|Using MeetBot for IRC Meetings]]
community/using-pinesol_green.1396288437.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.