Giter Club home page Giter Club logo


License: Apache 2.0 Kotlin codecov ydwk ydwk-docs

Very important note

Don't update to 1.22.0 it was a mistaken release caused by a bug in the code, use the latest version found above.

YDWK

YDWK is a discord wrapper made in Kotlin that aims to be as simple and as fast as possible while still being easy to use and understand. It is built to be similar to libaries like discord.js but is different in its own way. It tries to adhere to the discord Api as much as possible.

Getting started

📦 Installation

Grovy DLS gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation "io.github.realyusufismail:ydwk:${project.version}"
}

Kotlin DLS gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("io.github.realyusufismail:ydwk:${project.version}")
}

Maven

<dependency>
    <groupId>io.github.realyusufismail</groupId>
    <artifactId>ydwk</artifactId>
    <version>${project.version}</version>
</dependency>

Now to create a default bot, add the following to your main class:

fun main() {
    createDefaultBot("TOKEN").build()
}

A default bot has all the recommended gateway intents.

For more details see the creating a basic bot

Getting cached entities and getting entities through the rest api

When you want to get a cached entity, it will be named getEntity and when you want to get an entity through the Rest API, it will be named requestEntity.

Features :

In progress and to be done

Future Features

Implemented

  • Handle Rest API
  • Connect to gateway
  • Parse Json
  • Handle all op codes
  • Caching
  • Handle reconnect and resuming
  • Support for intents
  • Handle slash commands
  • Reply system for slash commands
  • Embed builder
  • Support for messages
  • Handle rate limiting in Websocket
  • Handle rate limiting in rest
  • Support for channels
  • Create entities - in progress
  • Handle events - In progress

For more information

Check out the docs for more information.

YDWK's Projects

jackson-module-kotlin icon jackson-module-kotlin

Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.

yde icon yde

All the entites for YDWK and future rest api wrapper

ydwk icon ydwk

A discord wrapper made in Kotlin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.