Update README.md
Fixed typo
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user