120 in printWidth since rocky got md

This commit is contained in:
Christopher committed 2021-03-02 20:56:15 +01:00
1 parent f552c1212c
commit d27aeb3b0e
90 files changed
+398 -1146

No files matched your search

+1 -4
View File
@@ -15,10 +15,7 @@ const DISCORD_HEADERS = { authorization: `Bot ${DISCORD_TOKEN}` };
const BASE_URL = 'https://discord.com/api';
const POST_CHANNEL_URL = `${BASE_URL}/channels/${DISCORD_CHANNEL_ID}/messages`;
export async function reportTweetToDiscord(
tweet: Tweet,
reportingProfile: Profile,
): Promise<any> {
export async function reportTweetToDiscord(tweet: Tweet, reportingProfile: Profile): Promise<any> {
if (!DISCORD_TOKEN || !DISCORD_CHANNEL_ID) {
discordLogger.warn(`Got a request to report a tweet but discord is not
configured. See README on how to configure discord endpoints.`);