mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 00:38:28 +03:00
Silence return type error
This commit is contained in:
@@ -109,9 +109,9 @@ export const buildProfileIntractable = async (
|
||||
);
|
||||
|
||||
return { embeds: [await buildProfileEmbed(data, game)], components: [dropdown] };
|
||||
} else {
|
||||
throw new Error(`No data found for user ${userId}`);
|
||||
}
|
||||
|
||||
throw new Error(`No data found for user ${userId}`);
|
||||
} catch (e) {
|
||||
logger.error("Unable to build profile interactable");
|
||||
throw new Error("Unable to build profile interactable");
|
||||
|
||||
Reference in New Issue
Block a user