This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mumbledj/mumble-music-bot/config.py

58 lines
1.3 KiB
Python
Raw Normal View History

2014-09-11 22:16:50 +02:00
#----------------------#
# Mumble Music Bot #
# By Matthieu Grieger #
#----------------------#-------------#
# config.py #
# Configuration options for the bot. #
#------------------------------------#
2014-09-12 01:49:07 +02:00
# ------------------------
2014-09-11 22:16:50 +02:00
# CONNECTION CONFIGURATION
# ------------------------
2014-09-12 01:49:07 +02:00
2014-09-11 22:16:50 +02:00
# Server address
2014-09-12 01:49:07 +02:00
SERVER_ADDRESS = 'matthieugrieger.com'
2014-09-11 22:16:50 +02:00
# Server port (64738 is the default)
SERVER_PORT = '64738'
2014-09-12 01:49:07 +02:00
2014-09-11 22:16:50 +02:00
# Username (this will be the username of the bot as well)
2014-09-12 01:49:07 +02:00
SERVER_USERNAME = 'Music Bot'
2014-09-11 22:16:50 +02:00
# Server password (leave blank if no password exists)
SERVER_PASSWORD = ''
2014-09-12 01:49:07 +02:00
# ---------------------
2014-09-11 22:16:50 +02:00
# GENERAL CONFIGURATION
# ---------------------
2014-09-12 01:49:07 +02:00
2014-09-11 22:16:50 +02:00
# Default channel
DEFAULT_CHANNEL = 'Bot Testing'
2014-09-12 01:49:07 +02:00
# Debugging mode (True = on, False = off)
DEBUG = False
# ------------------
# CHAT CONFIGURATION
# ------------------
# Enable/disable chat notifications
SHOW_CHAT_NOTIFICATIONS = True
# Enable/disable YouTube thumbnails (only has an effect if SHOW_CHAT_NOTIFICATIONS is True)
SHOW_YT_THUMBNAILS = True
# -------------------
2014-09-11 22:16:50 +02:00
# AUDIO CONFIGURATION
# -------------------
2014-09-12 01:49:07 +02:00
2014-09-11 22:16:50 +02:00
# Bitrate
BITRATE = 48000
2014-09-12 01:49:07 +02:00
2014-09-11 22:16:50 +02:00
# Number of users that, if reached, will pause the music until it is started again by a user.
# This is to prevent against YouTube audio downloads when nobody is listening.
2014-09-12 01:49:07 +02:00
USER_SOUND_PAUSE_TARGET = 1