Fixed .defprefix, closes #1837
This commit is contained in:
1 parent
62a2c7689f
commit
dc0c8e3088
1 file changed
+1
-1
@@ -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))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user