Fandom

WoWWiki

Talk:API IsInGuild

Back to page

104,642pages on
this wiki
Add New Page

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Function isn't relyable shortly after login Edit

The Problem Edit

If this function is used shortly after login, it will return nil although you are in a guild.
Even after both events ADDON_LOADED and VARIABLES_LOADED are fired, the function is not relyable yet.

Any known solution / workaround? Edit

I thought about using the GUILD_MOTD event for notifying me about being in a guild (even GUILD_MOTD is fired before IsInGuild works correctly).

Maybe this is already a known issue Edit

Add a link to related articles if that is in case (API IsInGuild, API GetGuildInfo, ...).

Also on Fandom

Random Wiki