from cloudbot import hook


@hook.command("bbmstaff")
def bbmStaff(text, message, chan):
    if chan in ("#bbm-bots", "#bbm-dev", "#bbm-packs", "#builtbrokenmodding", "#builtbroken"):
        message("Owners: Dmodoomsirius, DarkGuardsman");
        message("textureArtist: Morton0000");
        message("Developers: Snow, Hennamann")
    else:
        message("Command can only be run in Official BBM Channels. Join #bbm-bots to run the command.")

    
    

@hook.command("sponsor")
def sponsor(text, message, chan):
    if chan in ("#BBM-bots", "#BBM-Dev", "#BBM-Packs", "#BuiltBrokenModding", "#BuiltBroken"):
                    message("BuiltBroken servers both Beta test servers and build server");
                    message("is sponsored by Akliz.");
                    message("http://www.akliz.net/bbm")
    message("Command can only be run in Official BBM Channels. Join #bbm-bots to run the command.")

from cloudbot import hook

bbmChannels = ["#bbm-bots","#bbm-dev","#builtbroken","#builtbrokenmodding","#bbm-packs","#icbm","#artillects "]

@hook.command("bbmstaff")
def bbmStaff(text, message, chan):
    if any(x in chan for x in bbmChannels):
            message("Owners: Dmodoomsirius, DarkGuardsman");
            #message("Texture Artist: Morton0000");
            message("Senior Developers: Kolatra")
            message("Junior Developers: Kolatra, shobu9, TheCowGod, Hennamann")
    else:
            message("Command can only be run in Official BBM Channels. Join #bbm-bots to run the command.")



@hook.command("sponsor")
def sponsor(text, message, chan):
    if any(x in chan for x in bbmChannels):
            message("BuildBrokenModding servers both Beta test servers and build server");
            message("is sponsored by Akliz.");
            message("http://www.akliz.net/bbm")
    else:
            message("Command can only be run in Official BBM Channels. Join #bbm-bots to run the command.")
            
@hook.command("bbmchan")
def chans(text, message):
    message("The official BuiltBroken Channels are: " + " , ".join(bbmChannels))
    
@hook.command("bbmhelp")
def bbmhelp(text, message):
    message("If you are looking for who is the staff type .bbmstaff")
    message ("if you are looking for our sponsors please type .sponsor")
    message("If you are looking for our official channels please do .bbmchan")

Update and add more commands.
Update and add more commands.