Our great sponsors
-
ASP.NET Core
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
Hello all, I am making a hangman game in my discord bot. I want it to tell you how many letters are left after you have guessed a letter correctly. As discord.net works similarly to asp.net, I cannot store the variables in the modules as the data gets recreated each time to command is called. So this means I will have to create a seperate class to store the variables. However, I do not know how I can call a variable from a different class (in this case the variable is called 'lettersleft')? I apologise if this is a silly question.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Reading 409 response json in production cannot read custom error message from server
- Reading 409 response json in production cannot read custom error message from server
- [FromForm] isn't available in asp.net core minimal API
- How to create empty Web Forms app, without auth?
- what makes you choose express.js over asp.net core?