How To Code A Discord Bot In Visual Studio For Mac
Open Visual Studio and use the code from the Azure Bot Services portal in step 2. Then open it up in Visual Studio as shown in Figure 13. Figure 13, creating and debugging a #chatbot using Visual Studio and Azure Bot Services. Open the Command Task Runner Explorer window.
So I've been having trouble with my Discord bot on Visual Studio 2015, C#. I've just started out literally 5 minutes ago and I've come across a problem that I've looked at but just can't seem to find out the problem with. It's saying that
should be a Username and password, or a token
But when I put my token in it says it needs two arguments.
Here is my code:
Discord Bot Maker
I've also tried putting
But it's just not working. Sorry if I'm not giving enough information, or if mine just isn't good enough, but please. What am I doing wrong?
Dorad3 Answers
Depending on what .Net lib version you are using, in the one you are using, you have to specify the TokeType like so:
Discord Music Bot

simple mistake. Having a Discord Bot myself, I ran into the same issue. The API is constantly getting updated, so what you've dont use to be right, here's how you can fix it:
BalázsThe method you are using is no longer working.
In 1.0 you should be using like this: