Move bot files into mosfet/

This commit is contained in:
2021-04-21 22:09:28 +00:00
parent 4d2b09e578
commit 3c373ccfe3
36 changed files with 0 additions and 157 deletions
+16
View File
@@ -0,0 +1,16 @@
HELP_LINES = []
with open('game.py', 'r') as f:
for line in f.readlines():
if line.strip().startswith('## '):
HELP_LINES.append(line.strip()[3:])
if __name__ == '__main__':
for line in HELP_LINES:
if ' - ' in line:
command, doc = line.split(' - ')
print('`{}` - {}\n'.format(command, doc))
else:
print(line)
print()