Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Commit

Permalink
Merge branch 'edge' of https://github.com/NinoDiscord/Nino into edge
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Jun 10, 2021
2 parents 706e7bc + 7185b6c commit a7c05db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/CommandService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default class CommandService extends Collection<string, NinoCommand> {

const locale = this.localization.get(settings.language, userSettings.language);
const message = new CommandMessage(msg, locale, settings, userSettings);
app.runInjections(message);
app.addInjections(message);

const owners = this.config.getProperty('owners') ?? [];
if (command.ownerOnly && !owners.includes(msg.author.id))
Expand Down

0 comments on commit a7c05db

Please sign in to comment.