Skip to content

Latest commit

 

History

History
executable file
·
107 lines (76 loc) · 3.42 KB

README.md

File metadata and controls

executable file
·
107 lines (76 loc) · 3.42 KB
Skeet Framework Logo

Follow @ELSOUL_LABO2

Skeet Framework Plugin - Discord Utils

🧪 Dependency 🧪

Installation

$ yarn add @skeet-framework/discord-utils

with Skeet Framework CLI

$ skeet yarn add -p @skeet-framework/discord-utils

Usage

const token = 'your_discord_token_here'
const channelId = 'your_channel_id_here'
const body = {
  content: 'Hello, world!',
}

const run = async () => {
  try {
    const message = await messageChannel(token, channelId, body)
    console.log(`Message sent with ID: ${message.id}`)
  } catch (error) {
    console.error(`Error: ${error.message}`)
  }
}

run()

more examples can be found in typedoc;

Skeet Framework Document

Skeet TypeScript Serverless Framework

GraphQL, CloudSQL, Cloud Functions, TypeScript, Jest Test, Google Cloud Load Balancer, Cloud Armor

What's Skeet?

TypeScript Serverless Framework 'Skeet'.

The Skeet project was launched with the goal of reducing software development, operation, and maintenance costs.

Build Serverless Apps faster. Powered by TAI, Cloud Functions, Typesaurus, Jest, Prettier, and Google Cloud.

Dependency

$ npm i -g @skeet-framework/cli
$ skeet create web-app

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/elsoul/skeet This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The package is available as open source under the terms of the Apache-2.0 License.

Code of Conduct

Everyone interacting in the SKEET project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.