GithubHelp home page GithubHelp logo

not-ilinked / anarchy Goto Github PK

View Code? Open in Web Editor NEW
209.0 209.0 46.0 107.75 MB

The superior Discord API wrapper

Home Page: https://anarchyteam.dev

C# 100.00%
anarchy api-rest api-wrapper bot discord

anarchy's People

Contributors

andreas-henning avatar dependabot[bot] avatar fazelukario avatar hunter8288 avatar not-ilinked avatar verticalsync avatar xmaxximum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anarchy's Issues

ID questions

  1. Is there a Leave Guild from ID function?

  2. How do i mass-grab ID's? F.e. to send a message to all my friends at once, or if there is a leave Guild fron ID function, to leave all Guilds.

  3. Can you mass create (Guild) invites?

Just a question

Is this only usable with visual studio? I am a linux user as windows is too bad for my developing needs.

Regarding my vague question

I was asking for a way to get every ID of the servers the user is in, and every Chat ID of friends, who the user can send messages to.

Creating Commands?

Hey, so I am new to using Anarchy and making SelfBots in general but was wondering on how I would go about making commands using Anarchy. If you could throw me on the right path or give me an example on what to do that'd be great.

How to i change the activity

im searching since 40min and cant find anything about how to change the client activity like client.setActivity("lol", ActivityType.Watching); any help???

command description

there is way to do foreach command(on command listener) and it will print the command description?

More information on "MemberListQueryOptions" and "GetGuildChannelMembers" needed

Hey there,

I'm trying to use GetGuildChannelMembers to iterate through a server and get a list of users.
There's no infomation in the documentation on what "MemberListQueryOptions" does - but from my testing you can use count to set the limit of grabbed users - but how does index work?
When I try to use GetGuildChannelMembers I only get a maximum of around 800 members in a 2100 user server - and my account can see all 2100.

how to get current serverid

yeah it sounds like very easy but im trying since 2hr to get the current server id ( not channel id ) anyone know how lol

DiscordVoiceSession.OnUserSpeaking only firing once

Pretty much the title. I created a DiscordVoiceSession object using DiscordSocketClient.JoinVoiceChannel() and attached a function to session.OnUserSpeaking. The event only fires once per user when the user first speaks, and never again (e.g. if there are 5 users in a voice, the event will fire a maximum of 5 times).

Question: Creating Commands With Anarchy?

Hey, so I am new to using Anarchy and making SelfBots in general but was wondering on how I would go about making commands using Anarchy. If you could throw me on the right path or give me an example on what to do that'd be great.

GetAllGuildMembers error

System.InvalidOperationException: 'The current state of the connection is not Open.'

client.RequestGuildMembers(new GatewayMemberQuery() { GuildId = guildId, Limit = 0 }); this func throwns exception inside
public static IReadOnlyList GetAllGuildMembers(this DiscordSocketClient client, ulong guildId)

the way im calling is
DiscordSocketClient client = new DiscordSocketClient();
client.Login(token)
var members = client.GetAllGuildMembers(guild_id);

what am i doing wrong?

'Object reference not set to an instance of an object.'

On get Presence

        foreach(var activity in client.GetPresence(client.User.Id).Activities)
        {
            Console.WriteLine(activity.Name);
        }

even tried

Console.WriteLine(client.GetPresence(client.User.Id).Status);

any clue? there no docs in the github docs

Feature Request

ShardedClients for bots
Ability to grab current UserClient phone number

System.Runtime.InteropServices.SEHException: 'External component has thrown an exception.'

In the voice channel video/exploit there is this line of code:
var stream = session.CreateStream(64000);
But when it runs I get the error System.Runtime.InteropServices.SEHException: 'External component has thrown an exception.'
The account connects but then throws an error when it tries to play my audio. Why is this? It also throws similar exceptions for any other piece of code that loads and plays audio.

System.TimeoutException: 'Gateway did not respond with a server'

I am new to Anarchy, tried both the muted sound exploit (updated code to where there were no more errors since methods changed since that version on anarchy) and the lag channel exploit, on both I am getting System.TimeoutException: 'Gateway did not respond with a server'
I am using anarchy v0.8.0 from NuGet, and I believe I have done the voice binaries correctly (I have a folder named voice_binaries in the same dir as the exe, with ffmpeg.exe, libsodium.dll, and opus.dll all inside it)

Heres the line it is erroring on
var session = client.JoinVoiceChannel(new VoiceStateProperties() { ChannelId = (my channel id is here), Muted = true });
It is able to join the channel, but nothing after that,
Thanks in advance.

File not found on login

Error:
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
Login code:

DiscordClient client = new DiscordClient();
client.Token = NewTokenList;

i tried with DiscordSocketClient too but got the same result

System.PlatformNotSupportedException

using Discord.Gateway;
using System;

namespace ConsoleApp2
{
class Program
{
static void Main(string[] args)
{
DiscordSocketClient client = new DiscordSocketClient();

        client.Login("Censored");
    }
}

}

All it gives me is this:
System.PlatformNotSupportedException: "Operation is not supported on this platform."

Idk if its C# or the library.. Im new to C#. I use java most times so I understand the code.
But I've never seen an error like this.

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.