A simple dart package to send message to discord channel using Discord Bot

Discord Logger 🚀

A simple flutter package to send messages to discord channel via discord bot



Usage

To use this plugin, add discord_logger as a dependency in your pubspec.yaml file 🔗.

Steps before using this package

  • Create New Application in 🔗 https://discord.com/developers/applications.

  • Go to OAuth2 in menu and go to Url Generator

  • Select applications.commands and bot in the form

  • For now, give Administrator Permissions in Bot Permissions

  • Copy the Generated Url and Paste in your browser’s new tab

  • Add the server you want to access to send Messages(for now) and complete the process

You are good to go now 👍

Initialize [DiscordLogger]


How to get the Channel ID and Bot Token?

Add Bot

  • Reset Token To get the Token

Get Bot Token

  • Copy the token and add to the botToken parameter

Create Instance of DiscordLogger


Send Message:


🚀 Contributors

🔗.

GitHub

View Github

Post a Comment

Respect Others Opinion. Commenting Link Is Strictly Forbidden. Comments According To The Posts Always Gets Priority.
Enter Image URL or Video URL YouTube or Code Snippet , or Quote , then click the button you want to parse. Copy the parsed result and paste it into the Comments Field.


image video quote pre code

© Flutter Dev Pawan | All Rights Reserved.

Developed by Additional Articles