3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-08 11:37:20 +00:00

Fixes, refactoring and PR feedback

This commit is contained in:
Lily Bergonzat 2024-04-15 15:51:45 +02:00
parent 0be54912c4
commit 893a77d562
202 changed files with 1037 additions and 1069 deletions

View file

@ -19,7 +19,7 @@ export const UserInfoCmd = utilityCmd({
const userId = args.user?.id || message.author.id;
const embed = await getUserInfoEmbed(pluginData, userId, args.compact);
if (!embed) {
pluginData.getPlugin(CommonPlugin).sendErrorMessage(message, "User not found");
void pluginData.state.common.sendErrorMessage(message, "User not found");
return;
}