Closed adbenitez closed 4 years ago
closing this for now, a possible solution, in the plugin side, to get a folder inside basedir
named as the plugin:
plugin_dir = os.path.join(os.path.dirname(bot.account.db_path), __name__)
if not os.path.exists(plugin_dir):
os.makedirs(plugin_dir)
plugins sometimes need a folder to place databases and other files