🏠 Homepage
Steps to contribute something to this bot as follows
- Fork the project 🍴.
- Development Environment 🔨.
- Test server and bot account ⚡.
- Configure the bot 🔧.
- Run the project 🏃.
- Working with Git 👨💻.
Fork us to your repo and help us developing more better. Create a branch in the forked repo and work on the branch. Make PR(Pull Request) on what ever you worked on. PRs are most welcome.
-
Clone your forked repository.
git clone "your repo link"
-
Install required packages.
dart pub get
-
Be ready to develop it 😉.
You will be needed your own test server and bot account on Discord to test the bot with your changes.
Invite the FlutterBot to the server you have created. If you are not aware of adding a bot to the server, Here is the Documentation to do it.
To configure the bot you must need to add some variables.
In the root dir create a file called .env
and add the variables in the file.
BOT_TOKEN=<your bot token>
PREFIX=!
CLIENT_ID=<ID of the bot OAuth2 client>
Note:
Prefix variable is recommended to be
!
.The links in the environment variables must not be disturbed.
You are almost done with the setup and start running the bot
dart ./bin/flutter_bot.dart
If your output in the console seems like this
SUCCESS [Tue, 9/6/2022 3:01:30 AM] - Flutter Bot#1358 is ready to go 🔥
then, Congrats you made it.
- We are on the final step now 😆. After developing the code you can make a PR. All PRs are welcome.
- If any issues were found please make use a note by raising issues.
Give one ⭐️ if this project helped you!
Fork this repository and develop.
Copyright © 2020 minnu.
This project is MIT licensed.
Made with 💚, From Minnu.
All assets used in this project related to flutter are taken directly from Flutter.dev