Polaris is a Discord bot powered by Groq's powerful LLM, designed to provide insightful responses and assistance within your Discord server.
llama3-70b-8192
model to provide context-aware and engaging responses.systemPrompt
variable in src/ai/AI.ts
.config.json
, allowing you to specify channel categories and roles for bot access.debug
command provides tools to inspect embeds and test ticket-related functionality.Clone the Repository:
git clone https://github.com/MacoGaminG/Polaris.git
cd Polaris
Install Dependencies:
pnpm install
Environment Variables:
Create a .env
file in the root directory and add the following:
GUILD_ID =
CLIENT_ID =
GROQ_API_KEY =
DISCORD_TOKEN =
Configuration:
Adjust settings in config.json
:
channelCategories
: Array of category IDs where Polaris will be active.channelToIgnore
: Array of channel IDs within the categories to exclude.configAccess
: (Not fully implemented) Placeholder for roles that can manage the bot configuration.Build and Run:
pnpm run build # Compiles TypeScript code
pnpm run main # Starts the bot
/debug
slash command for testing and troubleshooting.src/ai/AI.ts
to refine Polaris' responses:
src/commands
and events in src/events
.Contributions are welcome! Please open issues for bug reports or feature requests. Feel free to submit pull requests for code enhancements or bug fixes.
This project is licensed under the GNU General Public License v3.0.