This is a Flutter Discord bot created with Discord.js. This bot provides the useful resources like docs, pub plugins/packages and API docs, flutterfire docs.
@Bot Name
On mentioning the bot will give you usage of commands embed message.
!\<Flutter Command\> help
We have few Flutter commands and they are listed below
!topwidget
- This command will show the top Package/Object you are searching for.
!allwidgets
- This command will show you the all Packages/Objects related to your search.
!prop
- This will help you with property you are searching for a particular widget.
!allprop
- This command will show all the properties of a Package/Object you are searching for.
!\<Pub Command\> help
We have few pub commands and they are listed below
!pub
- This command will give you the top search of the packages if given command matches with the package.
!allpub
- This command will show top 10 Packages result you are searching for.
We also have Pubdocs
command that which provides you the Pub packae's/plugin's
API documentation.
!\<Flutterfire Command\> list
We have few Flutterfire commands and they are listed below
Clone the repository.
git clone https://github.com/yahu1031/FlutterBot.git
Create a .env
file in root folder and paste this code given below.
BOT_TOKEN=your bot token
PREFIX=!
DOCSLINK=https://api.flutter.dev/flutter/
FLUTTERAPI=https://api.flutter.dev/flutter/index.json
PUBAPI=https://pub.dev/api/search?q=
MAINTAINERID=ID of the bot maintainer
FLUTTERFIRE=https://firebase.flutter.dev/docs/
PUBAPIDOCS=https://pub.dev/documentation/
Note:
Prefix variable is recommended to be
!
.The links in the environment variables must not be disturbed.
Get the dependency modules.
npm i
Run the bot.
npm run start
NOTE: If you want to follow eslint and markdownlint please do install plugins for them.
Minnu
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide. Please don’t forget to check Code of Conduct.
Give a ⭐️ if this project helped you!
Copyright © 2020 minnu.
This project is MIT licensed.
Pub API documentaion for all PUB packages.
Three commands has been hidden from the commands available.
!ask <USER_ID>
!code
!java install/jdk/jre
Click on the bot to add this to your guild. 🤖
NOTE: By default this bot has Administrator rights. Please do change the rights as you wish after adding it to your guild or use this Permissions Calculator to calculate permissions and add your bot ID to generate a invite link.
Ahhhh…, not yet planed 🤣.
Author: yahu1031
Source Code: https://github.com/yahu1031/FlutterBot
#flutter #dart #mobile-apps