'Discord .Net Read messages as a user (not a bot)

I am currently using a discord .Net api to handle a bot and all events related to its associated server. However, I need to perform also some actions as my personal user, not a bot.

In telegram there is a different api for that, for bot and for a user. How should it be done with discord? Could you please provide an example in .net for the authorization?



Solution 1:[1]

if you are trying to login with your own token and not a bot token you will not be able to use discord.net. you'll have to use the nuget package called AnarchyWrapper (not suggested, can cause a discord ban)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 user18494041