title: Discord Slash Command Bot - Python Structure
body: <p>As Discord has brought a new feature, which after reading <a href="https://discord.com/developers/docs/interactions/slash-commands#what-is-a-slash-command" rel="nofollow noreferrer">the docs</a> for hours, I have basic understanding about that this feature is completely new and actually a bit more complex that supposed to be. The basics are that you might have never done before is that through OAuth2 page of your bot, you have to check &quot;applications.commands&quot; option alongside &quot;bot&quot; box, in order to give your bot a slash command ability throughout the servers it is in.</p>
  <p>Unfortunately, Discord really supports the JavaScript made bots much more than the Python ones, and the documentation, whole process of making the bots, even the structure is supposed to almost always have a JS type of something, here for example, for the <a href="https://discord.com/developers/docs/interactions/slash-commands#what-is-a-slash-command" rel="nofollow noreferrer">configurations </a>the json is being used.</p>
  <p>I have found a lot of samples regarding to the JS written slash command bots both recorded and blog written, however, not any related to the Python made. Is there any sample where to just to run the bot and use a simple slash command integrated within our bot in our server to get to know the general structure of how slash bots are made in Python?</p>
  <p>p.s: I am still in search for the resources, and if found anything, this message will be updated, and the links to the resources will be provided down below.</p>