Formatting

This commit is contained in:
WasserEsser 2021-03-12 23:16:59 +01:00 committed by Szymon Uglis
parent a5c8c21ff2
commit a12ea9f828
No known key found for this signature in database
GPG key ID: 112376C5BEE91FE2

View file

@ -117,11 +117,12 @@ class Commander with ICommandRegistrable {
// construct commandcontext
final context = CommandContext._new(
event.message.channel.getFromCache()!,
event.message.author,
event.message is GuildMessage ? (event.message as GuildMessage).guild.getFromCache()! : null,
event.message,
"$prefix$finalCommand");
event.message.channel.getFromCache()!,
event.message.author,
event.message is GuildMessage ? (event.message as GuildMessage).guild.getFromCache()! : null,
event.message,
"$prefix$finalCommand",
);
// Invoke before handler for commands
if (!(await _invokeBeforeHandler(matchingCommand, context))) {