c# - CS1513 } expected Line 17 -




alright. i've looked through of questions on here have error , looked on code @ least 10 times can't find error. bot discord server automate little better. i've counted semicolons, brackets, etc, , can't find problem is. it's saying cs1513 } expected line 17 i've looked , looks fine. other bot running fine, 1 doesn't seem me. line 17 { under public mybot().

namespace dexter {     class mybot     {         discordclient discord;          public mybot()         {             discord = new discordclient(x =>             {                 x.loglevel = logseverity.info;                 x.loghandler = log;             });              discord.executeandwait(async () =>             {                 await discord.connect("inserttokenhere", tokentype.bot);             });         }          private void log(object sender, logmessageeventargs e)         {             console.writeline(e.message);         }     } } 





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -