SpiceBot/sopel_SpiceBot_Runtime_Commands/__init__.py
deathbybandaid 9cfd7f964a test
2022-02-10 13:16:29 -05:00

13 lines
281 B
Python

#!/usr/bin/python
# -*- encoding: utf-8 -*-
import os
import glob
all_list = list()
for f in glob.glob(os.path.dirname(__file__)+"/*.py"):
if os.path.isfile(f) and not os.path.basename(f).startswith('_'):
all_list.append(os.path.basename(f)[:-3])
__all__ = all_list