Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Latest commit

 

History

History
42 lines (33 loc) · 1.23 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.23 KB

Nokari

This is the rewrite of Nokari. There are still a lot of things to be done. I'm still working on the internal logic, so the bot basically has no functionality yet.

Invite Link

Click this link to invite the stable version of Nokari.

Requirements

  • A Discord application
  • Things listed in requirements.txt
  • Python 3.8+
  • a .env file in the root directory

.env File Example

DISCORD_BOT_TOKEN=TOKEN
SPOTIPY_CLIENT_ID=SPOTIFY_CLIENT_ID
SPOTIPY_CLIENT_SECRET=SPOTIFY_CLIENT_SECRET
POSTGRESQL_DSN=postgresql://user:pass@ip:port/database
LOG_LEVEL=INFO  # Defaults to INFO if not present.
GUILD_LOGS_WEBHOOK_URL=

# This one is optional, use it at your own risk.
DISCORD_BROWSER=

Running

After having all the requirements, run it with:

# Unix
python3 -O nokari

# Windows
py -3 -O nokari

Note: second level optimisation (-OO) will break the help command.

License

This project is licensed under the MPL-2.0 license.

Acknowledgements