Fixed .defprefix, closes #1837
This commit is contained in:
parent
62a2c7689f
commit
dc0c8e3088
@ -35,7 +35,7 @@ namespace NadekoBot.Modules.Administration
|
|||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[OwnerOnly]
|
[OwnerOnly]
|
||||||
public async Task DefPrefix([Remainder]string prefix)
|
public async Task DefPrefix([Remainder]string prefix = null)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(prefix))
|
if (string.IsNullOrWhiteSpace(prefix))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user