you can no longer use .die as a startup command...

This commit is contained in:
Master Kwoth
2017-10-09 02:57:03 +02:00
parent f3513779b7
commit a12702fb68
2 changed files with 7 additions and 1 deletions

View File

@ -48,7 +48,9 @@ namespace NadekoBot.Modules.Administration
[OwnerOnly]
public async Task StartupCommandAdd([Remainder] string cmdText)
{
//todo don't let .die be a startup command
if (cmdText.StartsWith(Prefix + "die"))
return;
var guser = ((IGuildUser)Context.User);
var cmd = new StartupCommand()
{