Skip to content

Commit

Permalink
Setting default action to info to avoid accidental overwriting sticky…
Browse files Browse the repository at this point in the history
… config
  • Loading branch information
pdellaert committed Dec 14, 2022
1 parent 80237bb commit c22e659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/moderation/sticky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const sticky: CommandDefinition = {
let [subCommand] = args.split(/\s+/);
let subArgs = args.replace(subCommand, '').trim();
if (!subCommands.includes(subCommand)) {
subCommand = 'set';
subCommand = 'info';
subArgs = args;
}

Expand Down

0 comments on commit c22e659

Please sign in to comment.