Only users with managechannels can use .topic now (permission oversight)
This commit is contained in:
parent
778cc3b6b5
commit
80cc129aac
@ -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 =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user