Merge pull request #134 from Delicious-Flatbread/patch-2
Update Music.cs
This commit is contained in:
commit
9beaa92bb9
@ -233,7 +233,7 @@ namespace NadekoBot.Modules {
|
|||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand("lopl")
|
cgb.CreateCommand("lopl")
|
||||||
.Description("Queues up to 50 songs from a directory.")
|
.Description("Queues up to 50 songs from a directory. **Owner Only!**")
|
||||||
.Parameter("directory", ParameterType.Unparsed)
|
.Parameter("directory", ParameterType.Unparsed)
|
||||||
.AddCheck(Classes.Permissions.SimpleCheckers.OwnerOnly())
|
.AddCheck(Classes.Permissions.SimpleCheckers.OwnerOnly())
|
||||||
.Do(async e => {
|
.Do(async e => {
|
||||||
@ -261,7 +261,7 @@ namespace NadekoBot.Modules {
|
|||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand("lo")
|
cgb.CreateCommand("lo")
|
||||||
.Description("Queues a local file by specifying a full path. BOT OWNER ONLY.")
|
.Description("Queues a local file by specifying a full path. **Owner Only!**")
|
||||||
.Parameter("path", ParameterType.Unparsed)
|
.Parameter("path", ParameterType.Unparsed)
|
||||||
.AddCheck(Classes.Permissions.SimpleCheckers.OwnerOnly())
|
.AddCheck(Classes.Permissions.SimpleCheckers.OwnerOnly())
|
||||||
.Do(async e => {
|
.Do(async e => {
|
||||||
@ -307,7 +307,7 @@ namespace NadekoBot.Modules {
|
|||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand("cleanup")
|
cgb.CreateCommand("cleanup")
|
||||||
.Description("Cleans up hanging voice connections. BOT OWNER ONLY")
|
.Description("Cleans up hanging voice connections. **Owner Only!**")
|
||||||
.AddCheck(SimpleCheckers.OwnerOnly())
|
.AddCheck(SimpleCheckers.OwnerOnly())
|
||||||
.Do(e => {
|
.Do(e => {
|
||||||
foreach (var kvp in MusicPlayers) {
|
foreach (var kvp in MusicPlayers) {
|
||||||
|
Loading…
Reference in New Issue
Block a user