Skip to content

Commit

Permalink
fix #299
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsundso committed Jan 17, 2025
1 parent de8aa78 commit bf06b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BaseClient/UtilModules/mod/mod/unAfk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default async (
where: { userid_guildid: { guildid: options.guild.id, userid: options.target.id } },
});

if (afk && !options.skipChecks) {
if (!afk && !options.skipChecks) {
actionAlreadyApplied(cmd, message, options.target, language, type);
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Languages/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -3932,7 +3932,7 @@
"meNoPerms": "I can't add Roles to this User",
"youNoPerms": "You can't remove AFK from this User",
"error": "I failed to remove AFK from this User",
"alreadyApplied": "> {{target}} isn't AFK",
"alreadyApplied": "> {{target}}> isn't AFK",
"success": "> {{target}}'s AFK was removed",
"loading": "Removing AFK...",
"self": "You can't remove AFK from yourself",
Expand Down

0 comments on commit bf06b61

Please sign in to comment.