View Single Post
07/30/22, 11:18 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,011
Seems that GetGuildRecruitmentLink will only work for your joined guilds, right. Have tested this too.
I have not found anything that will provide you links of others guilds, but I doubt it exists as API.

You can just use something like a pattern and create the links yourself:
Lua Code:
  1. locla function myBuildGuildRecruitmentLink(guildId)
  2.     if guildId == nil then return end
  3.     return string.format("|H1:guild:%s|h%s|h", tostring(guildId), tostring(GetGuildName(guildId)))
  4. end

But GetGuildName does not show me the guild names allthough the id exists, and I can even see the ID within the guild search...

Using /tb GetGuildName(132553) ingame returns an empty string (using merTorchbug).
Something is weird indeed.

Last edited by Baertram : 07/30/22 at 11:27 AM.
  Reply With Quote