More renaming

This commit is contained in:
Matthieu Grieger 2014-09-12 15:34:12 -07:00
parent e6e2e56a43
commit c0c6fecdb6
4 changed files with 20 additions and 12 deletions

View file

@ -1 +1,8 @@
#----------------------#
# MumbleDJ #
# By Matthieu Grieger #
#----------------------#-------------#
# __init__.py #
# Currently empty, and will probably #
# stay that way. :) #
#------------------------------------#

View file

@ -1,5 +1,5 @@
#----------------------#
# Mumble Music Bot #
# MumbleDJ #
# By Matthieu Grieger #
#----------------------#-------------#
# config.py #
@ -11,13 +11,13 @@
# ------------------------
# Server address
SERVER_ADDRESS = 'matthieugrieger.com'
SERVER_ADDRESS = 'localhost'
# Server port (64738 is the default)
SERVER_PORT = '64738'
# Username (this will be the username of the bot as well)
SERVER_USERNAME = 'Music Bot'
SERVER_USERNAME = 'MumbleDJ'
# Server password (leave blank if no password exists)
SERVER_PASSWORD = ''

View file

@ -1,14 +1,15 @@
#----------------------#
# Mumble Music Bot #
# MumbleDJ #
# By Matthieu Grieger #
#----------------------#---------------------------#
# musicbot.py #
# Contains definitions of musicbot class & methods #
# mumbledj.py #
# Contains definitions of MumbleDJ class & methods #
#--------------------------------------------------#
#import pymumble here
import pymumble
from config import *
class MusicBot:
class MumbleDJ:
# Since all the configuration is set in config.py, we don't really need to do anything here.
def __init__(self):
print('Starting up ' + SERVER_USERNAME + '...')

View file

@ -1,5 +1,5 @@
#----------------------#
# Mumble Music Bot #
# MumbleDJ #
# By Matthieu Grieger #
#----------------------#-------------------------------#
# run_bot.py #
@ -7,7 +7,7 @@
# execute with Python to start the bot. #
#------------------------------------------------------#
#import MusicBot object here
from mumbledj.mumbledj import MumbleDJ
bot = MusicBot()
bot = MumbleDJ()
bot.connect_to_server()