Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
BIN
+23 Bytes
(100%)
lib/__pycache__/setup.cpython-36.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
#Test | ||
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 |