WoW:API ChannelModerate: Difference between revisions

Noted that it also turns moderation off.
(upgraded deprecated template)
(Noted that it also turns moderation off.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{stub/api}}
 
Used to enable Moderator functions such a Kick and Ban.  This command must be used if you wish to administrate a channel.
 
Used to enable/disable Moderator functions such a Kick and Ban.  This command must be used if you wish to administrate a channel.
ChannelModerate("channelName")
 
 
== Arguments ==
:;"channelName": String - The name of the channel to turn moderation on or off.
 
 
== Returns ==
:nil
 
 
== Triggers Events ==
:* "[[Events/C#CHAT_MSG_CHANNEL_NOTICE_USER|CHAT_MSG_CHANNEL_NOTICE_USER"]]" with arg1 being "CHAT_MODERATION_ON_NOTICE" or "CHAT_MODERATION_OFF_NOTICE".
Anonymous user