mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
- Renamed Prefix to prefix
- Updated some command string keys which were using command name to use method names now
This commit is contained in:
@@ -34,7 +34,7 @@ public partial class Administration
|
||||
[OwnerOnly]
|
||||
public async partial Task StartupCommandAdd([Leftover] string cmdText)
|
||||
{
|
||||
if (cmdText.StartsWith(Prefix + "die", StringComparison.InvariantCulture))
|
||||
if (cmdText.StartsWith(prefix + "die", StringComparison.InvariantCulture))
|
||||
return;
|
||||
|
||||
var guser = (IGuildUser)ctx.User;
|
||||
@@ -67,7 +67,7 @@ public partial class Administration
|
||||
[OwnerOnly]
|
||||
public async partial Task AutoCommandAdd(int interval, [Leftover] string cmdText)
|
||||
{
|
||||
if (cmdText.StartsWith(Prefix + "die", StringComparison.InvariantCulture))
|
||||
if (cmdText.StartsWith(prefix + "die", StringComparison.InvariantCulture))
|
||||
return;
|
||||
|
||||
if (interval < 5)
|
||||
|
Reference in New Issue
Block a user