Implement replying to "who" on channel

This commit is contained in:
2024-11-28 16:35:25 +01:00
parent cfa3228ca5
commit 775f6ae076
2 changed files with 24 additions and 5 deletions

View File

@@ -299,6 +299,7 @@ if not channelId then
JoinPermanentChannel(channel)
end
channelId = GetChannelId(channel)
aura_env.channelId = channelId
print(string.format("channel %s resolved to id %d", channel, channelId))
---@param msg string
@@ -327,8 +328,4 @@ aura_env.NotifyChannelGone = function(player)
local msg = string.format("%s of class %s and guild %s left %s", player.name, player.class, player.guild,
player.zone)
NotifyChannel(msg)
end
local foo = Player.new("foo", "bar", "Human", "Warrior", "Orgrimmar")
aura_env.NotifyChannel(foo)
end