ccsseraphini
ccsseraphini copied to clipboard
feat(sseraticles): post approved articles on #sserarticles channel
Feature Request
To facilitate the view of the articles on the server, and the retweet let's share the approved articles tweet on #sserarticles channel on Discord.
snippet to get the tweet url
const tweet = async (url: string) => {
try {
const tweet = await client.v1.tweet(url, {});
const tweetUrl = `https://twitter.com/${tweet.user.screen_name}/status/${tweet.id_str}`;
return {
ok: true,
tweetUrl
};
} catch (error) {
return error;
}
};
I'll do this