---
title: "Discussion on \"Code Your First Discord Bot in Python (discord.py 2, Full Code)\" | Hashnode"
description: "Discussion on \"Code Your First Discord Bot in Python (discord.py 2, Full Code)\". Beginner tutorial with full, tested discord.py 2 code: /ping, an /info embed, a welcome message and a safe /kick command, plus how to host the bot 24/7."
url: "https://hashnode.com/posts/code-your-first-discord-bot-in-python-discord-py-2-full-code/6ae9af84b160734bc02c740d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Code Your First Discord Bot in Python (discord.py 2, Full Code)](https://esnsystems.hashnode.dev/code-your-first-discord-bot-in-python-discord-py-2-full-code?utm_source=hashnode&utm_medium=feed)

Beginner tutorial with full, tested discord.py 2 code: /ping, an /info embed, a welcome message and a safe /kick command, plus how to host the bot 24/7.

Nov 3 · 4 min read · esnsystems.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#discord](https://hashnode.com/tag/discord)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[ESN Systems](https://hashnode.com/@esnhosting)

@esnhosting

  
[View profile](https://hashnode.com/@esnhosting)

Discord bot + Minecraft server hosting, and ESN Guardian, a Discord security bot.

ESN Systems runs ESN Hosting (Discord bot and Minecraft server hosting, bot hosting from $0.50/month: esnoffical.com) and builds ESN Guardian, a Discord security bot (guardian.esnoffical.com). Guides and browser tools: docs.esnoffical.com. ESN SMP: smp.esnoffical.com. Community: discord.gg/RGPt3zEfGy

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
