Devious discord selfbotting package
Go to file
jacks0n9 ff07bc3ac1 Improved interaction response detection 2023-11-10 11:18:17 -08:00
.gitignore Initial commit 2023-06-30 10:34:13 -07:00
command_structs.go add subcommand support 2023-11-02 19:02:08 -07:00
go.mod Initial commit 2023-06-30 10:34:13 -07:00
go.sum Initial commit 2023-06-30 10:34:13 -07:00
haccerinteractions.go Initial commit 2023-06-30 10:34:13 -07:00
license Add license 2023-06-30 10:37:24 -07:00
readme.md Initial commit 2023-06-30 10:34:13 -07:00
run_command.go Improved interaction response detection 2023-11-10 11:18:17 -08:00

readme.md

Haccerinteractions

Welcome to Haccerinteractions, a package for advanced selfbotters

Haccerinteractions is a package that expands the selfbotting capabilities of discordgo by giving you the ability to run slash commands, get their output, and interact with message components like buttons.

Getting started

After installing and importing Haccerinteractions, follow these steps.

Create a new discordgo session

Because Haccerinteractions is powered by discordgo, you first need to make a session with this code:

session,_:=discordgo.New("insert_token_here")

Create a Haccerinteractions runner

This will be the thing that runs commands and clicks buttons. Use this code to make a runner:

runner:=haccerinteractions.NewRunner(session)

This will configure required parameters within your session as well as opening a gateway connection.

Get commands

You first must get commands for a channel with this code:

// You can leave the application/bot id empty.
// The limit is ignored when the bot_id is set, however
commands,err:=runner.GuildChannelGetSlashCommands("channel_id_here",10,"bot_id_here")

Run Commands

// Run a command.
// Set arguments to nil to pass no arguments
responseMessage,err:=runner.GuildChannelRunCommand(commands[0],nil,"channel_id_here")

Interact with components

// You can interact with various components by using different request data structs
button:=responseMessage.Components[0].(*discordgo.ActionsRow).Components[0].(*discordgo.Button)
runner.GuildChannelComponentRequest("channel_id_here",responseMessage.ID,"bot_id_here",button.CustomID,haccerinteractions.ButtonClickRequestData{})