In questa guida ti spiegherò come creare un bot su Discord, ottenere il token, configurarlo nel tuo script bot.py e farlo andare online. Mettere online un bot ti permette di automatizzare azioni nei server, creare sistemi avanzati (moderazione, ticket, musica ecc.) e imparare a gestire API.
BotEnderTest
)
bot
Send Messages
, Manage Roles
, ecc.)
bot.py / bot.js
bot.py
con il codice di base del tuo bot (es. con nextcord
, discord.py
, py-cord
ecc.). Oppure commissiona la creazione del bot da enderdevelopment.com
.
bot.py
, ed esegui:
pip install nextcord
bot.py
, ed esegui:
python bot.py
sudo apt install python3-pip
)pip3 install nextcord
)screen
o tmux
bot.py
nel file manager 5. Imposta il file di avvio nel pannello (es. bot.py)
python bot.py
6. Clicca su “Avvia” e il tuo bot sarà online!.env
o sistema simile per non scrivere il token in chiaro.