3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-08 19:47: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

@ -17,7 +17,7 @@ export const ServerInfoCmd = utilityCmd({
const serverId = args.serverId || pluginData.guild.id;
const serverInfoEmbed = await getServerInfoEmbed(pluginData, serverId);
if (!serverInfoEmbed) {
pluginData.getPlugin(CommonPlugin).sendErrorMessage(message, "Could not find information for that server");
void pluginData.state.common.sendErrorMessage(message, "Could not find information for that server");
return;
}