Skip to content

Commit

Permalink
Merge pull request #1 from FelipeArruda/first-commit
Browse files Browse the repository at this point in the history
Remoção do arquivo licence
  • Loading branch information
FelipeArruda authored Dec 7, 2023
2 parents 623b2e8 + a855688 commit cadedab
Show file tree
Hide file tree
Showing 7 changed files with 178 additions and 26 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 100
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '44 4 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
29 changes: 29 additions & 0 deletions .github/workflows/py-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Check Python Package's (pre-requirements)

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
24 changes: 0 additions & 24 deletions LICENSE

This file was deleted.

46 changes: 44 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,44 @@
# pyBot
Bot for Tibia
# Tibia Python Bot

Um bot simples para automação de tarefas no jogo Tibia, desenvolvido em Python.

## Descrição

Este bot foi criado para ajudar na automação de tarefas repetitivas no jogo Tibia. Ele utiliza a biblioteca PyAutoGUI para interagir com a interface do usuário.

**AVISO:** O uso de bots no Tibia pode violar os Termos de Serviço do jogo e resultar em penalidades, incluindo o banimento da conta. Use este bot por sua conta e risco.

## Recursos

- **Auto-Hunt:** Configure locais de caça e deixe o bot caçar automaticamente monstros.
- **Auto-Heal:** Configure o bot para curar automaticamente o personagem em determinadas condições.
- **Loot Automático:** Permita que o bot colete automaticamente itens deixados pelos monstros.

## Pré-requisitos

- Python 3.x instalado
- Dependências Python instaladas (`pip install -r requirements.txt`)

## Configuração

1. Clone o repositório: `git clone https://github.com/seu-usuario/tibia-python-bot.git`
2. Navegue até o diretório: `cd tibia-python-bot`
3. Instale as dependências: `pip install -r requirements.txt`
4. Configure as opções no arquivo `config.py`
5. Execute o bot: `python tibia_bot.py`

## Contribuições

Contribuições são bem-vindas! Se você quiser melhorar este bot, sinta-se à vontade para enviar um pull request.

## Aviso Legal

Este bot é fornecido apenas para fins educacionais e de teste. O uso deste bot no Tibia pode violar os Termos de Serviço do jogo.

## Autor

[Seu Nome]

## Licença

Este projeto está licenciado sob a [Licença MIT](LICENSE).
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hellow")
21 changes: 21 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
annotated-types==0.6.0
anyio==3.7.1
asgiref==3.7.2
certifi==2023.11.17
colorama==0.4.6
distro==1.8.0
Django==4.2.6
h11==0.14.0
httpcore==1.0.2
httpx==0.25.2
idna==3.6
openai==1.3.6
Pillow==10.1.0
pydantic==2.5.2
pydantic_core==2.14.5
sniffio==1.3.0
sqlparse==0.4.4
tk==0.1.0
tqdm==4.66.1
typing_extensions==4.8.0
tzdata==2023.3

0 comments on commit cadedab

Please sign in to comment.