I try to build a discord bot from the example page. But I got a problem. You find the code here:
https://pastebin.com/H5puPBie (Token in there is invalid)
On line 58 and the following it says _commands and _services could nor be found. But _commands is publicly declared and I don’t really know how to define _services.
Thank for any advice.
_commands is never declared in the Program class. Neither is _services
But it’s public in CommandService?
C# devs
null reference exceptions