Skip to content

Commit

Permalink
commands: Ban: fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
bariscodefxy committed Aug 4, 2023
1 parent f381efe commit f9ba65a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/utility/Ban.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ public function handle($msg, $args): void
}else {
$embed = new Embed($this->discord);
$embed->setColor('#ff0000');
$embed->setDescription();
$embed->setTimestamp($language->getTranslator()->trans('commands.ban.no_perm'));
$embed->setDescription($language->getTranslator()->trans('commands.ban.no_perm'));
$embed->setTimestamp();
$msg->channel->sendEmbed($embed);
}
}
Expand Down

0 comments on commit f9ba65a

Please sign in to comment.