Update README.md

Fixed typo
This commit is contained in:
2024-08-16 19:07:17 +03:00
committed by GitHub
parent 9c98d2e219
commit 95e8d95c92

View File

@@ -52,7 +52,7 @@ public class LevelCommand : DBCommand
public async void ExecuteServer(DBCommandExecutingArguments context) public async void ExecuteServer(DBCommandExecutingArguments context)
{ {
//Variables.database is a sql connection that is defined in an auxiliary file in the same napespace as this class //Variables.database is a sql connection that is defined in an auxiliary file in the same namespace as this class
object[] user = await Variables.database.ReadDataArrayAsync($"SELECT * FROM Levels WHERE UserID='{context.Message.Author.Id}'"); object[] user = await Variables.database.ReadDataArrayAsync($"SELECT * FROM Levels WHERE UserID='{context.Message.Author.Id}'");
if (user is null) if (user is null)
{ {