TechLifeForum

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

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

       Catch ex As Exception
           MsgBox(ex.Message)
       End Try

Using the latest version of Discord.net API.