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
Post a Comment