c# - Visual Studio - Visual Studio cannot start debbuging because the debug target "C:\Users\name\registry\program.exe' is missing -
really sad, because code isn't working.i coding discord bot , @ end - boom.error code -
using discord; using discord.commands; using system; using system.collections.generic; using system.linq; using system.text; using system.threading.tasks; namespace superwafflebot { class mybot { discordclient discord; public mybot() { discord = new discordclient(x => { x.loglevel = logseverity.info; x.loghandler = log; }); discord.executeandwait(async () => { await discord.connect("discordbotkey"); }); } private void log(object sender, logmessageeventargs e) { console.writeline(e.message); } } }
the other code not working. -
using system; using system.collections.generic; using system.linq; using system.text; using system.threading.tasks; namespace superwafflebot { class program { static void main(string[] args) { mybot bot = new mybot(); } }
}
wiki
Comments
Post a Comment