Full Version: example?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Someone help me with Wrapper for connecting to Discord using
Samples I found are on C# and I dont know C#.
I tried but this doesnt log in the bot.
           dClient = New DiscordSocketClient(New DiscordSocketConfig())
           Dim token = "NDIwNjA3MTkzNTcwNjA3MTEw.DYBIsQ.UJi6g7oMxDLMb71hwdOd8KEvHqk"

           Await dClient.LoginAsync(TokenType.Bot, token)
           Await dClient.GetConnectionsAsync

       Catch ex As Exception
       End Try

Using the latest version of API.