test
This commit is contained in:
parent
35813e292d
commit
e846ee35bb
@ -5,9 +5,16 @@ A Niche Wrapper around Sopel
|
|||||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
|
`SCRIPT_DIR` is a very important variable to set early on.
|
||||||
|
This is the directory `main.py` has been called from.
|
||||||
|
This information will be use to dynamically set other variables later, as well as some default locations.
|
||||||
|
"""
|
||||||
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
SCRIPT_DIR = pathlib.Path(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
print(SCRIPT_DIR)
|
|
||||||
|
def setup(bot):
|
||||||
|
print(SCRIPT_DIR)
|
||||||
|
|||||||
0
SpiceBot/requirements.txt
Normal file
0
SpiceBot/requirements.txt
Normal file
Loading…
Reference in New Issue
Block a user