import random

from lazysusan.plugins import CommandPlugin
from lazysusan.helpers import admin_or_moderator_required


class Echo(CommandPlugin):
    COMMANDS = {'/echo': 'echo'}

    def echo(self, message, data):
        """Repeat everything after /echo."""
        self.bot.reply(message, data)


class Shout(CommandPlugin):
    COMMANDS = {'/shout': 'shout'}

    @admin_or_moderator_required
    def shout(self, message, data):
        """Repeat everything after /shout, to the whole room"""
        self.bot.api.speak(message)


class Twerk(CommandPlugin):
    COMMANDS = {'/twerk': 'twerk'}

    def twerk(self, message, data):
        """Bot upvotes current track, lets you know it's hot"""
        message = 'Shakin\' dat ass!'
        self.bot.reply(message, data)
        self.bot.api.bop()


class Roll(CommandPlugin):
    COMMANDS = {'/roll': 'roll'}

    def roll(self, message, data):
        """Returns a random number between 1-10. Used for deciding who leaves
        the decks"""
        message = random.randint(1, 10)
        self.bot.reply(message, data)



#class Holler(CommandPlugin):
#    COMMANDS = {'/holler': 'holler'}
#
#    def holler(self, message, data):
#        userID = self.bot.getUserID()
#        message = 'Sgood' + '%s' % userID.name
#        self.bot.reply(message, data)

#class Boot(CommandPlugin):
#    COMMANDS = {'/boot': 'boot'}
#
#    @admin_or_moderator_required
#    def boot(self, message, data):
#        userID = self.bot.getUserID()
#        self.bot.api.boot(UserID)

@@ -715,25 +715,17 @@
  = '
-Sha
+Twer
 kin%5C'
- dat ass!
 '%0A  
@@ -1024,16 +1024,16 @@
 (1, 10)%0A
+
         
@@ -1066,450 +1066,4 @@
 ta)%0A
-%0A%0A%0A#class Holler(CommandPlugin):%0A#    COMMANDS = %7B'/holler': 'holler'%7D%0A#%0A#    def holler(self, message, data):%0A#        userID = self.bot.getUserID()%0A#        message = 'Sgood' + '%25s' %25 userID.name%0A#        self.bot.reply(message, data)%0A%0A#class Boot(CommandPlugin):%0A#    COMMANDS = %7B'/boot': 'boot'%7D%0A#%0A#    @admin_or_moderator_required%0A#    def boot(self, message, data):%0A#        userID = self.bot.getUserID()%0A#        self.bot.api.boot(UserID)%0A

Tweak to bop message