-
Notifications
You must be signed in to change notification settings - Fork 0
/
help
executable file
·74 lines (74 loc) · 5.97 KB
/
help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
fromList
[ ("!", "!<bang> <string> | Search DuckDuckGo using a !bang tag.")
, ("ban", "b <nick> ... | Ban a user, or several. [Mod]")
, ("me", "me <string> | Perform an action with the bot.")
, ("<", "< <string> | Send a string as a private message.")
, ("say", "> <string> | Print a string.")
, ("kick", "k <nick> ... | Kick a user, or several. [Mod]")
, ("mode", "m [+|-]<mode> <args> | Modify the channel mode. [Mod]")
, ("ops", "ops | List the available operators.")
, ("raw", "raw <string> | Control the bot by sending a raw IRC message to the server. [Admin]")
, ("sed", "sed s/<match>/<replacement>/ <string> | Regex replace a string.")
, ("voice", "v <nick> ... | Voice a user, or several. [Mod]")
, ("anime", "an [<number>] [<string>] | Search for anime releases and optionally choose how many results to print.")
, ("in", "in <regex> <string> | Show whether a regex matches a string.")
, ("manga", "ma [<number>] [<string>] | Search for manga releases and optionally choose how many results to print.")
, ("^", "^ [<number>] [<string>] | Search the channel log and optionally choose which result to print.")
, ("airing", "ai [<string>] | Currently airing anime. Optional search which returns more details of the matching anime.")
, ("bots", "bots | This confirms that it is a bot, and not a human being.")
, ("eval", "eval <kawaiilang> | Evaluate Kawaii Language code (what you're using right now!)")
, ("help", "help [<string>] | Get help for a function. Use `functions` and `ops` to see a list of functions and operators you can get help for.")
, ("host", "host | Print the user's hostname.")
, ("http", "http <header> <url> | Get the specified HTTP header.")
, ("isup", "isup <url> | See if a website is up or not.")
, ("kill", "kill <string> | Kill an event by its name. [Admin]")
, ("length", "length <string> | Length of a string.")
, ("let", "let <string> <kawaiilang> | Define a new function using old ones. [Mod]")
, ("name", "name | Print the user's name.")
, ("nick", "nick | Print the user's nick.")
, ("quit", "quit | Make the bot quit the IRC server. [Admin]")
, ("random", "random <choice1 | choice2 | ...> | <number> | Choose between several choices or random number between 0 and number.")
, ("re", "re <nick> [<kawaiilang> | <string>] | Add a reminder for someone; printed on join.")
, ("stat", "stat <nick> [<string>] | Display or change a user's stat.")
, ("tell", "tell <nick> <message> | Tell a user something next time she talks.")
, ("wiki", "wiki [<language>] <string> | Print the summary of a Wikipedia page.")
, ("functions", "functions [Blacklist <string> ... | Whitelist <string> ...] | List or change the Kawaii Language functions available to this channel. [Mod]")
, ("kickban", "kb <nick> ... | Kick and ban a user, or several. [Admin]")
, ("on", "on <regex> [<precedence>] <kawaiilang> | Run some function(s) on match, optionally with a precedence, by default 10.")
, ("ons", "ons [<string>] | Display all `on` matches, or what `on`s match the optional argument.")
, ("onf", "onf <string> | Display the function associated with a regex match from `on`.")
, ("onp", "onp | wot")
, ("unixtime", "unixtime | The current UNIX timestamp.")
, ("formattime", "formattime <unixtime> <offset> <format> | Format a UNIX timemstamp, e.g `formattime <- (unixtime ++ space ++ > +540 ++ space ++ > %H:%M)`")
, ("cjoin", "cjoin [True | False] | Display or change whether the bot should be able to join the channel.")
, ("event", "event <name> <seconds> <kawaiilang> | Run some function(s) every n seconds where n >= 1000 unless you're [Admin]")
, ("nicks", "nicks [<nick> ...] | Display or change the bot's nick list. [Admin]")
, ("sleep", "sleep <number> | Wait for n seconds before continuing.")
, ("title", "title <url> | Print the title of a website.")
, ("topic", "topic [+|-]<string> | Append to, remove from or change the topic.")
, ("show", "show [Config | User <string> | Chan <string>] | Show data held by the bot.")
, ("tr", "tr [<language>] <string> | Translate text to English, or optionally, another language.")
, ("users", "users [<nick>] | Print the userlist, or optionally details about a user. [Mod]")
, ("cajoin", "cajoin [True | False] | Display or change whether the bot should autojoin the channel on connect or kick.")
, ("join", "join <string> | Make the bot join a channel.")
, ("part", "part <string> | Make the bot part from a channel.")
, ("botprefixes", "prefix [<string>] | Display or change the bot's prefix for this channel.")
, ("urban", "urban <string> | Get the definition of a word or phrase from Urban Dictionary.")
, ("verb", "verb [<number>] | Display or change the bot's verbosity level.")
, ("shadify", "shadify <url> | Generate a shadified URL. Very shady.")
, ("britify", "britify <string> | Replace words with British slang equivalents.")
, ("connect", "connect <host> <port> | Connect to a new IRC server. [Admin]")
, ("++", "<function> ++ <function> | Append the output of the right function to the left.")
, ("->", "<function> -> <function> | Pipe the output of the left function into the argument of the left.")
, ("<-", "<function> <- <function> | Pipe the output of the right function into the argument of the right.")
, (">>", "<function> >> <function> | Disregard the output of the function on the left.")
, ("<>", "<function> <> <function> | Return the output of the function whose output isn't empty. [Lazy]")
, ("><", "<function> >< <function> | Only return if both outputs are not empty, and return the output on the right.")
, ("+>", "<function> +> <function> | Only return if both outputs are not empty, and append them. [Lazy]")
, ("==", "<function> == <function> | Compare the output of two functions, returns True if they're equal, or empty string (false).")
, ("/=", "<function> /= <function> | Compare the output of two functions, returns True if they're not equal, or empty string (false).")
, ("readme", "https://github.com/Shou-/Tombot#readme")
, ("github", "https://github.com/Shou-/Tombot")
, ("functions", "https://github.com/Shou-/Tombot#functions")
, ("operators", "https://github.com/Shou-/Tombot#operators")
]