This simple Python code template was created to implement Discord bots using Google Gemini-AI.
Be careful not to leak
config.json
file outside.
You need to create file config.json
in a current folder, And then enter json text in the following format.
{
"discord_token": "---",
"ai_api_keys": [
"---",
"---",
"---"
],
"ai_settings": [
"You're Rimuru Tempest that is character from an Japan animation.",
"Your owner is a Ttangkong whose id is mtankkeo",
]
}