Flutter Discord Bot Created with Discord.js

Flutter Discord Bot Created with Discord.js

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.

Welcome to flutter-bot πŸ€–

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.

Usage

Commands and Examples

  • @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.

      • Eg: !topwidget hero

    • !allwidgets - This command will show you the all Packages/Objects related to your search.

      • Eg: !allwidgets hero

    • !prop - This will help you with property you are searching for a particular widget.

      • Eg: !prop hero.tag

    • !allprop - This command will show all the properties of a Package/Object you are searching for.

      • Eg: !allprop hero

  • !\<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.

      • Eg: !pub google_fonts

    • !allpub - This command will show top 10 Packages result you are searching for.

      • Eg: !allpub google_fonts

    We also have Pubdocs command that which provides you the Pub packae's/plugin's API documentation.

    • Eg: !pubdocs google_fonts

  • !\<Flutterfire Command\> list

    We have few Flutterfire commands and they are listed below

    • !flutterfire list - This command will give you the docs link about flutter firebase.

      • Eg: !flutterfire list

    • !flutterfire <your required docs>

      • docs
      • analytics
      • auth
      • firestore
      • functions
      • messaging
      • storage
      • core
      • crashlytics
      • database
      • remote-config
      • performance

Running the Bot

  1. Clone the repository.

    git clone https://github.com/yahu1031/FlutterBot.git
  2. 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:

    1. Prefix variable is recommended to be !.
    1. The links in the environment variables must not be disturbed.
  3. Get the dependency modules.

    npm i
  4. Run the bot.

    npm run start

NOTE: If you want to follow eslint and markdownlint please do install plugins for them.

πŸ‘€ Author

Minnu

🀝 Contributing

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.

πŸ’ͺ Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2020 minnu. This project is MIT licensed.

New Changes βž•

Pub API documentaion for all PUB packages.

Hidden Commands

Three commands has been hidden from the commands available.

  • !ask <USER_ID>
  • !code
  • !java install/jdk/jre

Add this bot to your guild

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.

What's-up on the next update

Ahhhh...., not yet planed 🀣.

Download Details:

Author: yahu1031

Source Code: https://github.com/yahu1031/FlutterBot

flutter dart mobile-apps

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Google's Flutter 1.20 stable announced with new features - Navoki

Google has announced new flutter 1.20 stable with many improvements, and features, enabling flutter for Desktop and Web

Top 25 Flutter Mobile App Templates in 2020

Flutter has been booming worldwide from the past few years. While there are many popular mobile app development technologies out there, Flutter has managed to leave its mark in the mobile application development world. In this article, we’ve curated the best Flutter app templates available on the market as of July 2020.

Flutter App Development Trends 2020

As the new decade dawns upon us, a slew of technologies has been making a lot of noise to grab the developers’ attention. While native app development is going strong, the trade winds are now blowing towards going cross-platform.

How To Succeed In Mobile App Wireframe Design?

This article covers everything about mobile app wireframe design: what to do and what not, tools used in designing a mobile or web app wireframe, and more.

What is Flutter and why you should learn it?

Flutter is an open-source UI toolkit for mobile developers, so they can use it to build native-looking Android and iOS applications from the same code base for both platforms. Flutter is also working to make Flutter apps for Web, PWA (progressive Web-App) and Desktop platform (Windows,macOS,Linux).