RedditBot: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
! Name !! Text !! Example -> Result !! Explanation
! Name !! Text !! Example -> Result !! Explanation
|-
|-
| Help || .help || .help -> Plugins currently loaded: ... || Returns a list of commands and their shortcuts, if any, in brackets.
| Help || .help || .help -> Plugins currently loaded: ... || Returns a list of commands and their shortcuts, if any, in brackets that can be used with RedditBot.
|-
|-
| Add bad word || .addbadword <word> || .addbadword butt -> || Adds a word to the blacklist of words that will get a user kicked if used.
| Add bad word || .addbadword <word> || .addbadword butt -> || Adds a word to the blacklist of words that will get a user kicked if used in IRC chat.
|-
|-
| Calculate || .calculate <expression> || .calc 2*4/2-1+2 -> 5 || Returns the simplified answer of a math expression using multiplication (*), division (/), addition (+), and subtraction (-).
| Calculate || .calculate <expression> || .calc 2*4/2-1+2 -> 5 || Returns the simplified answer of a math expression using multiplication (*), division (/), addition (+), and subtraction (-).
|-
|-
| Configure || .config (list|view|set|add|remove|revert) <key> [value] || .config ->  || Returns
| Configure || <nowiki>.config (list|view|set|add|remove|revert) <key> [value]</nowiki> || .config list ADMINS ->  || Returns
|-
|-
| Countdown || .countdown || .count ->  ||  
| Countdown || .countdown || .count ->  ||  
|-
|-
| Decimal || .decimal <expression> || .dec 1/5 -> 0.2 || Returns a decimal if you enter a fraction or (sometimes) a fraction if you enter a decimal.
| Decimal || .decimal <expression> || .dec 1/5 -> 0.2 || Returns a decimal if you enter a fraction and, sometimes, a fraction if you enter a decimal.
|-
|-
| Delete bad word || .delbadword <word> || .delbadword butt ->  || Removes a word from the blacklist of words that will get a user kicked if used.
| Delete bad word || .delbadword <word> || .delbadword butt ->  || Removes a word from the blacklist of words that will get a user kicked if used in IRC chat.
|-
|-
| Gist || .gist <id> || .gist ->  || Looks up a gist by its ID.
| Gist || .gist <id> || .gist ->  || Looks up a gist by its ID.
|-
|-
| Github || .github <owner>/<repo>[/<branch>|/commit/<hash>] || .github mcdevs/Burger -> http://git.io/ucwzDA -- Burger: A simple tool for picking out information from the minecraft JARs, primarily useful for developers. (mcdevs) || Returns info on
| Github || <nowiki>.github <owner>/<repo>[/<branch>|/commit/<hash>]</nowiki> || .github mcdevs/Burger -> http://git.io/ucwzDA -- Burger: A simple tool for picking out information from the minecraft JARs, primarily useful for developers. (mcdevs) || Returns info on
|-
|-
| Google || .google <query> || .g Minecraft -> Minecraft - https://minecraft.net/ || Returns the first Google search result title and URL for the entered query.
| Google || .google <query> || .g Minecraft -> Minecraft - https://minecraft.net/ || Returns the first Google search result title and URL for the entered query.
|-
|-
| Grab || .grab <start_text> [~~ <end_text>] || .grab horrible ~~ illiterate -> https://paste.buttscicl.es/p/107/ || Returns a PyPaste link to line(s) of dialogue in the IRC chat from the start text to the end text (if given).
| Grab || .grab <start_text> [~~ <end_text>] || .grab horrible ~~ illiterate -> https://paste.buttscicl.es/p/107/ || Returns a PyPaste link to line(s) of dialogue in the IRC chat from the start text to the end text, if given.
|-
|-
| Ignore || .ignore nick!user@host || .ignore ~smiler@smiler100.user.gamesurge ->  || Mutes messages from the given IRC user.
| Ignore || .ignore nick!user@host || .ignore ~smiler@smiler100.user.gamesurge ->  || Mutes chats from the given IRC user.
|-
|-
| Inject || .inject <input_data> || .inject ->  || Returns
| Inject || .inject <input_data> || .inject ->  || Returns
|-
|-
| Is up || .isup <MC server address> || .isup p.nerd.nu -> p.nerd.nu is online with 39/160 players online. || Returns the online status and user count of a given Minecraft server URL or nickname (e.g., "p" and "pve" will work for "p.nerd.nu")
| Is up || .isup <MC server address> || .isup p.nerd.nu -> p.nerd.nu is online with 39/160 players online. || Returns the online status and user count of a given Minecraft server URL or nickname (e.g., "p" and "pve" will work for "p.nerd.nu").
|-
|-
| Karma || .karma <reddit_username> || .karma Shitty_Watercolour -> Shitty_Watercolour has 56679 link and 662953 comment karma || Returns the link and comment karma for the given Reddit username.
| Karma || .karma <reddit_username> || .karma Shitty_Watercolour -> Shitty_Watercolour has 56679 link and 662953 comment karma || Returns the link and karma numbers for the given Reddit username.
|-
|-
| Last.fm || .lastfm <user 1> [<user 2>] || .lastfm ->  ||  
| Last.fm || .lastfm <user 1> [<user 2>] || .lastfm ->  ||  
|-
|-
| List bad words || .listbadwords || .listbadwords ->  || Returns a list of blacklisted words that will get a user kicked if used.
| List bad words || .listbadwords || .listbadwords ->  || Returns a list of blacklisted words that will get a user kicked if used in IRC chat.
|-
|-
| List ignores || .listignores || .listignores ->  || Returns a list of users that have been muted by the ignore command.
| List ignores || .listignores || .listignores ->  || Returns a list of IRC users that have been muted by the ignore command.
|-
|-
| MC Bouncer || .mcbouncer || .mcb ->  || Returns
| MC Bouncer || .mcbouncer || .mcb ->  || Returns
Line 63: Line 63:
| Twitter || twitter <username> || .twitter notch -> @notch: I love getting called gay as an insult. In my head it's like calling people swimmers. I don't swim, but I kinda like the idea. Seems cozy. || Returns the last tweet (even an @ reply) from the given Twitter user.
| Twitter || twitter <username> || .twitter notch -> @notch: I love getting called gay as an insult. In my head it's like calling people swimmers. I don't swim, but I kinda like the idea. Seems cozy. || Returns the last tweet (even an @ reply) from the given Twitter user.
|-
|-
| Unignore || .unignore nick!user@host || .unignore ~smiler@smiler100.user.gamesurge ->  || Unmutes messages from the given IRC user.
| Unignore || .unignore nick!user@host || .unignore ~smiler@smiler100.user.gamesurge ->  || Unmutes chats from the given IRC user.
|-
|-
| Up time || .uptime || .up ->  || Returns
| Up time || .uptime || .up ->  || Returns
Line 71: Line 71:
| Version || .version || .version -> I am at http://git.io/Qu3OBg -- 9d65a37 Joe Alcorn: fix keyerror || Returns a link
| Version || .version || .version -> I am at http://git.io/Qu3OBg -- 9d65a37 Joe Alcorn: fix keyerror || Returns a link
|-
|-
| Wikipedia || .wikipedia <query> || .wp minecraft -> Minecraft -- Minecraft is a sandbox indie game originally created by Swedish programmer Markus "Notch" Persson and later developed and published by Mojang. -- http://en.wikipedia.org/wiki/Minecraft || Returns the first Wikipedia article result title, brief description,  
| Wikipedia || .wikipedia <query> || .wp minecraft -> Minecraft -- Minecraft is a sandbox indie game originally created by Swedish programmer Markus "Notch" Persson and later developed and published by Mojang. -- http://en.wikipedia.org/wiki/Minecraft || Returns the title, brief description, and link to the first Wikipedia article for the given search query.
|-
|-
| Wolfram Alpha || .wolframalph <query> || .wa box -> 1 | noun | a (usually rectangular) container; may have a lid... || Returns the top Wolfram Alpha answer for the given query.
| Wolfram Alpha || .wolframalph <query> || <nowiki>.wa box -> 1 | noun | a (usually rectangular) container; may have a lid...</nowiki> || Returns the top Wolfram Alpha answer for the given query.
|-
|-
| XKCD || .xkcd <query> || .xkcd 1000 -> http://xkcd.com/1000/ -- xkcd: 1000 Comics -- more results at http://j.mp/1aU9WjX || Returns a link to the XKCD comic, comic title, and a link of more search results for the given query.
| XKCD || .xkcd <query> || .xkcd 1000 -> http://xkcd.com/1000/ -- xkcd: 1000 Comics -- more results at http://j.mp/1aU9WjX || Returns a link to the XKCD comic, comic title, and a link of more search results for the given query.

Latest revision as of 15:09, 28 June 2013

RedditBot is a bot on Reddit's public Minecraft IRC channel, #RedditMC, through gamesurge created by edk. It is composed of a number of plug-ins that assist with search queries, online status of Minecraft servers, and the operation of the IRC channel. RedditBot also automatically formats reddit URLs entered into chat similar to what would be returned if the Reddit command was run for that specific post.

Name Text Example -> Result Explanation
Help .help .help -> Plugins currently loaded: ... Returns a list of commands and their shortcuts, if any, in brackets that can be used with RedditBot.
Add bad word .addbadword <word> .addbadword butt -> Adds a word to the blacklist of words that will get a user kicked if used in IRC chat.
Calculate .calculate <expression> .calc 2*4/2-1+2 -> 5 Returns the simplified answer of a math expression using multiplication (*), division (/), addition (+), and subtraction (-).
Configure .config (list|view|set|add|remove|revert) <key> [value] .config list ADMINS -> Returns
Countdown .countdown .count ->
Decimal .decimal <expression> .dec 1/5 -> 0.2 Returns a decimal if you enter a fraction and, sometimes, a fraction if you enter a decimal.
Delete bad word .delbadword <word> .delbadword butt -> Removes a word from the blacklist of words that will get a user kicked if used in IRC chat.
Gist .gist <id> .gist -> Looks up a gist by its ID.
Github .github <owner>/<repo>[/<branch>|/commit/<hash>] .github mcdevs/Burger -> http://git.io/ucwzDA -- Burger: A simple tool for picking out information from the minecraft JARs, primarily useful for developers. (mcdevs) Returns info on
Google .google <query> .g Minecraft -> Minecraft - https://minecraft.net/ Returns the first Google search result title and URL for the entered query.
Grab .grab <start_text> [~~ <end_text>] .grab horrible ~~ illiterate -> https://paste.buttscicl.es/p/107/ Returns a PyPaste link to line(s) of dialogue in the IRC chat from the start text to the end text, if given.
Ignore .ignore nick!user@host .ignore ~smiler@smiler100.user.gamesurge -> Mutes chats from the given IRC user.
Inject .inject <input_data> .inject -> Returns
Is up .isup <MC server address> .isup p.nerd.nu -> p.nerd.nu is online with 39/160 players online. Returns the online status and user count of a given Minecraft server URL or nickname (e.g., "p" and "pve" will work for "p.nerd.nu").
Karma .karma <reddit_username> .karma Shitty_Watercolour -> Shitty_Watercolour has 56679 link and 662953 comment karma Returns the link and karma numbers for the given Reddit username.
Last.fm .lastfm <user 1> [<user 2>] .lastfm ->
List bad words .listbadwords .listbadwords -> Returns a list of blacklisted words that will get a user kicked if used in IRC chat.
List ignores .listignores .listignores -> Returns a list of IRC users that have been muted by the ignore command.
MC Bouncer .mcbouncer .mcb -> Returns
MC Premium (MC Account) .mcpremium <username> .mcaccount Notch -> Notch is a premium Minecaft account Returns the account status of a Minecraft user.
Mumble .mumble <[host[:port]]> .mumble .mumble mumble.nerd.nu:6162 -> mumble.nerd.nu is up with 14/200 users. Returns the online status and user count of a given mumble server.
Python .python <exp> .python -> Returns
Raw .raw <command> .raw -> Returns
Reddit .reddit <subreddit> .reddit mcpublic -> /r/mcpublic - 'CTT Arena match friday night!!' - +7/-1 - http://redd.it/1h6aug Returns the top rated post title, votes, and link for that subreddit.
Session (Login) .session .login -> [Login] Up! [Session] Up! Returns the online status for the Mojang login and session servers.
Source .source <[url]> .source http://redd.it/1h6aug -> 'CTT Arena match friday night!!' - +8/-1 - http://redd.it/1h6aug Returns the post title, votes, and link for the given Reddit URL.
Status .status Reddit PvE Server: [16/160] | Reddit Survival Server: [8/150] Returns the online status and user count of Reddit's public minecraft servers.
Tell .tell <nick> <message> .tell totemo hello -> I'll tell totemo that when I see them. Saves a message that will appear the next time the given user logs into the #RedditMC IRC channel.
Twitter twitter <username> .twitter notch -> @notch: I love getting called gay as an insult. In my head it's like calling people swimmers. I don't swim, but I kinda like the idea. Seems cozy. Returns the last tweet (even an @ reply) from the given Twitter user.
Unignore .unignore nick!user@host .unignore ~smiler@smiler100.user.gamesurge -> Unmutes chats from the given IRC user.
Up time .uptime .up -> Returns
Usage .usage <plugin> .help calculate -> .calculate <expression> Returns usage instructions for a specific command.
Version .version .version -> I am at http://git.io/Qu3OBg -- 9d65a37 Joe Alcorn: fix keyerror Returns a link
Wikipedia .wikipedia <query> .wp minecraft -> Minecraft -- Minecraft is a sandbox indie game originally created by Swedish programmer Markus "Notch" Persson and later developed and published by Mojang. -- http://en.wikipedia.org/wiki/Minecraft Returns the title, brief description, and link to the first Wikipedia article for the given search query.
Wolfram Alpha .wolframalph <query> .wa box -> 1 | noun | a (usually rectangular) container; may have a lid... Returns the top Wolfram Alpha answer for the given query.
XKCD .xkcd <query> .xkcd 1000 -> http://xkcd.com/1000/ -- xkcd: 1000 Comics -- more results at http://j.mp/1aU9WjX Returns a link to the XKCD comic, comic title, and a link of more search results for the given query.
YouTube .youtube <query> .youtube minecraft -> 'Minecraft Mini-Game : SKYBLOCK WARRIORS!' - 23m 26s - 2,987,469 views - by skydoesminecraft - http://youtu.be/CWMA762jW2A Returns the video title, length, view count, uploader, and link for the top YouTube result for the given search query.