settopic command
This commit is contained in:
parent
4910639591
commit
e765d6726b
@ -241,6 +241,15 @@ namespace NadekoBot.Modules
|
||||
}
|
||||
});
|
||||
|
||||
cgb.CreateCommand(".st").Alias(".settopic")
|
||||
.Description("Sets a topic on the current channel.")
|
||||
.Parameter("topic",Discord.Commands.ParameterType.Unparsed)
|
||||
.Do(async e => {
|
||||
try {
|
||||
await e.Channel.Edit(topic: e.GetArg("topic"));
|
||||
} catch (Exception) { }
|
||||
});
|
||||
|
||||
cgb.CreateCommand(".uid").Alias(".userid")
|
||||
.Description("Shows user id")
|
||||
.Parameter("user",Discord.Commands.ParameterType.Required)
|
||||
|
Loading…
Reference in New Issue
Block a user