Document bot commands
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
HELP_LINES = []
|
||||
|
||||
with open('game.py', 'r') as f:
|
||||
for line in f.readlines():
|
||||
if line.strip().startswith('## '):
|
||||
HELP_LINES.append(line.strip()[3:])
|
||||
|
||||
|
||||
for line in HELP_LINES:
|
||||
print(line)
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user