Skip to content
Permalink
fc56cf776e
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 16 lines (11 sloc) 638 Bytes
def customCode(inputMessage):
prefix = os.environ['PREFIX'] #This gets the prefix
if not inputMessage[:len(prefix)]: #Checks to see if the prefix is at the start of the message
return #If it isn't, ignore the rest of the code
'''Do not modify any code above this'''
if message == "example":
message = "This is an example of the custom code you can write"
elif message == "example2"
message = "This is also an example of the custom code you can write"
'''Do not modify any code below this'''
return message #Send the message back to the main program