Formatting
This commit is contained in:
parent
a5c8c21ff2
commit
a12ea9f828
|
@ -117,11 +117,12 @@ class Commander with ICommandRegistrable {
|
||||||
|
|
||||||
// construct commandcontext
|
// construct commandcontext
|
||||||
final context = CommandContext._new(
|
final context = CommandContext._new(
|
||||||
event.message.channel.getFromCache()!,
|
event.message.channel.getFromCache()!,
|
||||||
event.message.author,
|
event.message.author,
|
||||||
event.message is GuildMessage ? (event.message as GuildMessage).guild.getFromCache()! : null,
|
event.message is GuildMessage ? (event.message as GuildMessage).guild.getFromCache()! : null,
|
||||||
event.message,
|
event.message,
|
||||||
"$prefix$finalCommand");
|
"$prefix$finalCommand",
|
||||||
|
);
|
||||||
|
|
||||||
// Invoke before handler for commands
|
// Invoke before handler for commands
|
||||||
if (!(await _invokeBeforeHandler(matchingCommand, context))) {
|
if (!(await _invokeBeforeHandler(matchingCommand, context))) {
|
||||||
|
|
Loading…
Reference in a new issue