selfcord

package module
v0.0.0-...-21f17b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 2 Imported by: 0

README

discordgo-self

Go Report Card GoDoc Lines of Code

A performant self-bot Discord API wrapper for Go. It focuses on being powerful to use, while being easy to scale.

[!NOTE]
discordGO-self is currently in the alpha stages of development. Once the module reaches a stable release the relevant documentation will be created.

Features

  • Fast - discordGO-self is written in Go, allowing it, and you, to leverage its fearless concurrency.
  • Easy to Integrate - The API was designed with simplicity and powerfulness in mind. This allows you to focus on what matters; the self-bot.

Installation

discordGO-self can be installed by using go get:

go get github.com/QuartzWarrior/discordgo-self

After this command has been run, discordGO-self is ready to use. discordGO-self can be updated by using go get -u:

go get -u github.com/QuartzWarrior/discordgo-self

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Selfbot *discord.Selfbot
	Gateway *discord.Gateway
	Config  *types.Config
}

func NewClient

func NewClient(token string, config *types.Config) *Client

func (*Client) AddHandler

func (client *Client) AddHandler(event string, function any) error

func (*Client) Close

func (client *Client) Close()

func (*Client) Connect

func (client *Client) Connect() error

func (*Client) GetMembers

func (client *Client) GetMembers(guildId string, memberIds []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL