mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: we shouldn't do xivapi requests for characters when the name is empty
This commit is contained in:
parent
d4244566e8
commit
bd2e5cda2a
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ namespace Dalamud.DiscordBot {
|
|||
var avatarUrl = string.Empty;
|
||||
var lodestoneId = string.Empty;
|
||||
|
||||
if (!this.config.DisableEmbeds) {
|
||||
if (!this.config.DisableEmbeds && !string.IsNullOrEmpty(senderName)) {
|
||||
var searchResult = await GetCharacterInfo(senderName, senderWorld);
|
||||
|
||||
lodestoneId = searchResult.LodestoneId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue