Add discord logs

This commit is contained in:
2024-07-22 03:54:17 +07:00
parent ab621554ce
commit fa7546bb2d
2 changed files with 4 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ namespace Managing.Infrastructure.Messengers.Discord
// Discord started as a game chat service, so it has the option to show what games you are playing
// Here the bot will display "Playing dead" while listening
await _client.SetGameAsync(_settings.BotActivity, "https://moon.com", ActivityType.Playing);
_logger.LogInformation(JsonConvert.SerializeObject(_settings, Formatting.Indented));
if (!_settings.HandleUserAction) return;
List<ApplicationCommandProperties> applicationCommandProperties = new();
@@ -137,8 +137,6 @@ namespace Managing.Infrastructure.Messengers.Discord
public static List<ApplicationCommandProperties> GetSlashCommands()
{
List<ApplicationCommandProperties> commands = new();
return commands;
}