This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Welcome to the Mog repository! Here, you'll find Mog, a Discord bot crafted in Dart using nyxx
and nyxx_commands
for seamless integration with Discord's slash command system. Whether you're here to use the bot, extend its functionality, or learn about Dart in a Discord bot context, you're in the right place.
- Mog: A versatile Discord bot designed for community engagement, moderation, and entertainment, utilizing slash commands.
- Technology: Built with Dart, leveraging
nyxx
for Discord interactions andnyxx_commands
for managing slash commands.
- Dart SDK: Ensure Dart is installed and configured on your system.
- Discord Developer Account: Have a Developer Application to obtain a Bot Token.
-
Clone this repository:
git clone https://github.com/newtox/Mog.git cd Mog
-
Setup:
- Create a
.env
file based on the provided.env.example
. Copy the content from:.env.example
- Replace the placeholders with your bot details:
token=your_bot_token_here db_host=your_database_host db_port=your_database_port db_user=your_database_username db_password=your_database_password db_name=your_database_name
- Create a
-
Run the Bot:
- After setting up, run:
dart run bin/main.dart
- If dependencies aren't installed, first run:
dart pub get
- After setting up, run:
Mog uses slash commands. Users can see all commands by typing /
in Discord. For instance, to check if Mog is online, use:
/ping
Interested in adding features to Mog? Here's how:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your contributions:
git commit -m 'Add new feature: your-feature-name'
- Push to your branch:
git push origin feature/your-feature-name
- Submit a pull request detailing your script or improvements.
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike (CC BY-NC-SA) License. For more details, see:
- License: CC BY-NC-SA 4.0
By contributing, you agree that your contributions will be licensed under the same license.
Have a feature request or found a bug?
- Open an issue directly on GitHub.
- Or reach out to me at [email protected]