Seng is a Discord Bot which currently helps, in particular, the Astra Nova Network.
- Clone this repository to your local machine.
- Install
poetry, the dependency manager that Seng uses.- To install
poetry, check their documentation.
- To install
cdinto this project's main directory.- Run
poetry install. - Run
poetry shell. - See Set-Up instructions below.
- To test locally, you will need to create a 'Bot' application within the Discord Developer Portal.
- To use any encryption/decryption features, please install age onto your local machine. For more info, please see the Using Encryption/Decryption features section.
- If you do not have a data pack, then you may want to consider using
config/load_template_fileswhich will load template files into the seng directory. Following this, please edit the template files with the correct data. - You can run
config/file_check.pyfor a check that files are in the right places, amongst other things. This is handy for checking that the template files have been correctly filled out.
- If you have a data pack, it should be encrypted. Please place it at
seng/data_pack.tar.gz.age. - Please check the Encryption/Decryption features section for where to place the private key.
- Then run
config/load_data_pack.pyto load its files into the seng directory. - Then run
config/file_check.pyfor a check that files are in the right places, amongst other things.
- If you would like to use Encryption/Decryption features of Seng, which are
just for exporting and importing
data_packs (which are files that an instance of Seng stores), then please placekey.txt(which should be the private key fromagekey generation) within theprivatedirectory, as well as placingpublic_key.txt(which is a copy-and-paste of the public key from theagekey generation) in theprivatedirectory too. config/create_data_pack.pycan be used to create an encrypted data pack.
- Thank you for taking an interest in contributing to Seng!
- Please read
CONTRIBUTING.mdfor more information on how to contribute.