About 15,700,000 results
Open links in new tab
  1. How to Format Text as Code in Discord - wikiHow

    Oct 9, 2024 · Do you want to share a code snippet in a Discord chat? There's an easy way to format any type of text to make it look like code rather than plain text. You'll just need to encase your text with back-ticks (`) to use Discord's chat formatting.

  2. How to Format Text Into Code Block on Discord - GeeksforGeeks

    Apr 14, 2025 · By wrapping your text with triple backticks, you can format it in various Discord code block languages, making it perfect for displaying programming syntax and enhancing readability. There are two ways to format text into code in Discord: Single-line code blocks; Multiline code blocks; 1. Single-Line Code Block

  3. How To Send Code In Discord - Robots.net

    Sep 12, 2023 · By following the steps outlined in this guide, you’ll be able to format your code correctly, specify the programming language, share code snippets, use code syntax highlighting for increased readability, send code in a file, and even collaborate on code within Discord.

  4. How to Format Code on Discord (Mobile) - Instructables

    How to Format Code on Discord (Mobile): This instruction set is for people who code regularly and also uses the discord app. This will teach you how to send text and then format it into any coding language you like.

  5. 5 Ways to Share Code in Discord – The Renegade Coder

    Nov 25, 2022 · Luckily for you, there are more than a few ways to share code; you just need to pick one! Let’s get into it. Perhaps the most common way to share code, especially for beginners, is to copy and paste the code from whatever editor you’re using directly into a channel. Here’s what that might look like:

  6. Using Python Requests to Send Discord Messages - YouTube

    Welcome to today's tutorial where we dive into the world of Discord automation using Python! In this video, we'll uncover how to send messages to a Discord channel using the requests...

  7. How to format code properly? : r/discordapp - Reddit

    Oct 22, 2015 · Adding to that, you can use just one ` if you want to make an inline code, rather than creating a big block for just one piece of code. then you'd be able to write your code without creating a big box

  8. python - How to use code blocks in embeds? discord.py - Stack Overflow

    Jul 17, 2022 · I was wondering how to use code blocks in discord.py embeds. Here's my code: However, I want it to look something similar to this: You can use backticks (`great code here`) just like how you send a normal message (manually, on …

  9. Python Discord Bots: Formatting Text | In Plain English

    Jan 4, 2021 · Let’s create an inline_code function. We will only need ctx as a parameter. To get inline code formatting, wrap the text to format in single backticks (`). @client. command async def inline_code (ctx): response = 'Use the `discord.py` module to make a Discord bot in Python!' await ctx. send (response) discord.py is monospaced with a slight border

  10. bots - Discord - Send message only from python app to discord

    Jul 4, 2020 · First, make a webhook in the Discord channel you'd like to send messages to. Then, use the discord.Webhook.from_url method to fetch a Webhook object from the URL Discord gave you. Finally, use the discord.Webhook.send method to send a message using the webhook. If you're using version 2 of discord.py, you can use this snippet:

  11. Some results have been removed