Echoshard / Gemini_Discordbot

A Gemini Discord bot that can accept images and has conversation memory
MIT License
67 stars 38 forks source link

Change from dotenv to config.json #14

Open Conradium opened 1 month ago

Conradium commented 1 month ago

Replaced dotenv to json. Added config.json to contain all of the settings, including Gemini's API settings. Added autogeneration of config.json if it is not present.

Hello! I suggest adding a config.json to contain all the settings, so every settings will be accessible from the config file instead of straight inside the python script and the env file for api keys

This might be useful if the user wants customizable instance of the bot when running under the same environment. (Different tokens/api key)