Advertisement
Guest User

Untitled

a guest
Nov 12th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.03 KB | None | 0 0
  1. database:
  2.   label: Database
  3.   settings:
  4.     host:
  5.       type: string
  6.       label: Hostname
  7.     port:
  8.       type: int
  9.       default: 3306
  10.       label: Port
  11.     dbname:
  12.       type: string
  13.       label: Database Name
  14.     username:
  15.       type: string
  16.       label: User Name
  17.     password:
  18.       type: string
  19.       label: Password
  20. irc:
  21.   label: IRC
  22.   settings:
  23.     channels:
  24.       type: longtext
  25.       lines: 3
  26.       label: Channels to join
  27.       hint: >
  28.        List of IRC channel names, separated by spaces. Each channel name must
  29.         begin with "#". By default, lines spoken by the bot in each channel are
  30.         sent as "notices"; if the bot is not allowed to send "notices" in a
  31.         channel, add "|privmsg" to that channel name in the list to speak as a
  32.         normal user instead. Example channel list: "#main|privmsg #pintsize"
  33.     admin_nicks:
  34.       type: longtext
  35.       lines: 3
  36.       label: Admin Nicks
  37.       hint: >
  38.        List of nicks, separated by spaces, who are allowed to use admin
  39.         commands (only if they are currently authenticated to the IRC network).
  40.     ignored_nicks:
  41.       type: longtext
  42.       lines: 3
  43.       label: Ignored Nicks
  44.       hint: >
  45.        List of nicks, separated by spaces, who will be completely ignored by
  46.         the bot. To prevent infinite loops, add any other bots resident in your
  47.         chat channels here.
  48.     server_hostname:
  49.       type: string
  50.       label: IRC Server Hostname
  51.     nick:
  52.       type: string
  53.       default: Pintsize
  54.       label: IRC Nick
  55.       hint: The bot's name in the chat room.
  56.     realname:
  57.       type: string
  58.       default: Pintsize
  59.       label: IRC Real Name
  60.       hint: Real name (for whois queries). Can include URL or other extra info.
  61.     username:
  62.       type: string
  63.       default: pintsize
  64.       label: IRC Username
  65.       hint: For authenticating to the IRC server.
  66.     password:
  67.       type: password
  68.       label: IRC Password
  69.       hint: NickServ or login password.
  70.     port:
  71.       type: int
  72.       default: 6697
  73.       label: IRC Port
  74.     use_tls:
  75.       type: bool
  76.       default: true
  77.       label: Use TLS (SSL)
  78.     force_ipv4:
  79.       type: bool
  80.       default: false
  81.       label: Force IPv4
  82.       hint: Use IPv4 connection instead of IPv6 by default.
  83. streaminfo:
  84.   label: Stream Info
  85.   settings:
  86.     status_url:
  87.       type: string
  88.       label: Stream Status URL
  89.       hint: URL of the audio stream's ".xspf" file.
  90.     poll_interval:
  91.       type: int
  92.       default: 10
  93.       label: Poll Interval
  94.       hint: Number of seconds between hits to the Stream Status URL to update current artist and title.
  95.     audio_urls:
  96.       type: longtext
  97.       lines: 3
  98.       label: Audio Stream URLs
  99.       hint: >
  100.        List of audio stream URLs separated by line breaks. Each URL should be
  101.         followed by a space character and then a label for the hyperlink to be
  102.         displayed on the web site. Example:<br />
  103.         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://stream.example.com/128 128kbps mp3<br />
  104.         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://stream.example.com/160 160kbps mp3"
  105. commands:
  106.   label: Bot Commands
  107.   columns: [Command and Aliases, Enabled]
  108.   settings:
  109.     help:
  110.       type: string
  111.       label: Help
  112.       default: "!help"
  113.     now_playing:
  114.       type: string
  115.       label: Now Playing
  116.       default: "!np !title"
  117.     vote:
  118.       type: string
  119.       label: Vote
  120.       default: "!v !vote"
  121.     unvote:
  122.       type: string
  123.       label: Unvote
  124.       default: "!unvote"
  125.     like:
  126.       type: string
  127.       label: Like
  128.       default: "!l"
  129.     hate:
  130.       type: string
  131.       label: Hate
  132.       default: "!h"
  133.     say:
  134.       type: string
  135.       label: Say
  136.       default: "!say"
  137.       hint: "(Admin only)"
  138.     do:
  139.       type: string
  140.       label: Do
  141.       default: "!do"
  142.       hint: "(Admin only"
  143. responses:
  144.   label: Responses
  145.   columns: [Text, Reply To]
  146.   settings:
  147.     greeting:
  148.       type: longtext
  149.       lines: 3
  150.       label: Greeting
  151.       default: >
  152.        Hello ${nick}. I'm a bot for voting on the music being on this stream.
  153.         Say "${cmd_help}" for help.
  154.       hint: What to say when a user is trying to find the help command.
  155.     help:
  156.       type: longtext
  157.       lines: 3
  158.       label: Help
  159.       default: >
  160.        <b>!v [num]</b> = Vote -5 (bad) to 5 (good) | <b>!unvote</b> = Undo vote
  161.         | <b>!l</b> = Vote +3 | <b>!h</b> = Vote -3 | <b>!np</b> = What's
  162.         playing? | More info: [insert URL here]
  163.     now_playing:
  164.       type: longtext
  165.       lines: 2
  166.       label: Now Playing
  167.       default: >
  168.        ]] <b>Now playing:</b> ${stream_title}
  169.     vote:
  170.       type: longtext
  171.       lines: 2
  172.       label: Vote
  173.       default: >
  174.        You have voted ${stream_title} with ${value} points.
  175.     revote:
  176.       type: longtext
  177.       lines: 2
  178.       label: Re-Vote
  179.       default: >
  180.        You changed your vote to ${value} for ${stream_title}.
  181.     unvote:
  182.       type: longtext
  183.       lines: 2
  184.       label: Unvote
  185.       default: >
  186.        You undid your vote for ${stream_title}.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement