Only users with managechannels can use .topic now (permission oversight)

This commit is contained in:
Master Kwoth 2016-03-30 19:21:32 +02:00
parent 778cc3b6b5
commit 80cc129aac

View File

@ -458,6 +458,7 @@ namespace NadekoBot.Modules.Administration
cgb.CreateCommand(Prefix + "st").Alias(Prefix + "settopic") cgb.CreateCommand(Prefix + "st").Alias(Prefix + "settopic")
.Alias(Prefix + "topic") .Alias(Prefix + "topic")
.Description("Sets a topic on the current channel.") .Description("Sets a topic on the current channel.")
.AddCheck(SimpleCheckers.ManageChannels())
.Parameter("topic", ParameterType.Unparsed) .Parameter("topic", ParameterType.Unparsed)
.Do(async e => .Do(async e =>
{ {