Introduction¶
The purpose of this guide is to make your journey with disnake
easier, whether you’re an experienced developer just
getting into coding Discord bots, or an advanced bot developer who has decided to proceed with disnake
as their
library of choice.
The concept we will be going over, include:
How to get started on working with bots;
How to create and organize commands, using cogs/extensions;
Working with databases (such as
sqlite
andmongodb (pymongo)
);Using the
AutoShardedClient
class to shard your bot;A plethora of examples with popular topics along with in-depth explanation, and much more!
This guide will showcase the various features and events that our library has, while giving you an idea of how these functions work together as well as how the syntax looks in production.
Pre-Required Knowledge¶
While we appreciate the process of making Discord bots, creating a bot with disnake
requires a decent amount of
experience on working with Python and object-oriented programming. You can go forward and make a bot with little to no
knowledge of Python or programming, but doing so will only hinder your progress and cause issues in the future.
If you don’t know Python but would like to learn more, here are a few resources to get you started:
Think Python, a free online book.
Codecademy’s course for learning Python 3.
LearnPython, an interactive tutorial for absolute beginners.
A Byte of Python by Swaroop C.H., an introductory text for people with no previous programming experience.
An extensive list of these resources can be found on Python’s official website. Once you’re more experienced with Python, you can come back here to get started!
Contents¶
Pre-requisites
Getting Started
Interactions
Popular Topics
Frequently Asked Questions
Credits