diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 638386c..366a1d8 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,4 +9,6 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 + with: + python-version: '3.10' - uses: pre-commit/action@v3.0.0 diff --git a/README-en.md b/docs/README-en.md similarity index 98% rename from README-en.md rename to docs/README-en.md index 0535fb7..2b22cd1 100644 --- a/README-en.md +++ b/docs/README-en.md @@ -22,7 +22,7 @@ For the bot to function properly, some tokens need to be provided. Below, you ca 1. Be logged into the [platform](https://discord.com/). 2. Access the [developer portal](https://discord.com/developers/applications). 3. Click on the "New Application" button in the upper right corner: -![img.png](new_application_img.png) +![img.png](../static/new_application_img.png) 4. Go to the "Bot" tab and click "Add Bot". > Keep the default settings for Public Bot (checked) and Require OAuth2 Code Grant (unchecked). 5. Copy the Token; it will be used for bot authentication. diff --git a/README.md b/docs/README.md similarity index 98% rename from README.md rename to docs/README.md index 60a5b4e..ff1866e 100644 --- a/README.md +++ b/docs/README.md @@ -27,7 +27,7 @@ a seguir poderá entender como gerá-las 1. Esteja logado na [plataforma](https://discord.com/); 2. Acesse a [página de desenvolvedores](https://discord.com/developers/applications); 3. Clique no botão de "Nova Aplicação" no canto superior direito:
-![img.png](new_application_img.png) +![img.png](../static/new_application_img.png) 4. Vá até a aba “Bot” e clique em “Add Bot”; >Mantenha as configurações padrão para Public Bot (marcado) e Require OAuth2 Code Grant (desmarcado). 5. Copie o Token, ele será utilizado para a autenticação do seu bot.
diff --git a/main.py b/src/main.py similarity index 99% rename from main.py rename to src/main.py index 0bf0df4..0d16cd4 100644 --- a/main.py +++ b/src/main.py @@ -1,7 +1,6 @@ import random import discord - import settings intents = discord.Intents.default() diff --git a/settings.py b/src/settings.py similarity index 100% rename from settings.py rename to src/settings.py diff --git a/new_application_img.png b/static/new_application_img.png similarity index 100% rename from new_application_img.png rename to static/new_application_img.png