Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #10

Closed
wants to merge 597 commits into from
Closed

Main #10

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
e44097a
Update help.py
cringe-neko-girl Dec 7, 2024
ee15cdf
Update help.py
cringe-neko-girl Dec 7, 2024
b31369e
Update quest.py
cringe-neko-girl Dec 7, 2024
1b07473
Update quest.py
cringe-neko-girl Dec 7, 2024
b83ad8a
Update quest.py
cringe-neko-girl Dec 8, 2024
508b9cb
Update quest.py
cringe-neko-girl Dec 8, 2024
b371f3f
Update quest.py
cringe-neko-girl Dec 8, 2024
f8dbae3
Update quest.py
cringe-neko-girl Dec 8, 2024
c5285e7
Update quest.py
cringe-neko-girl Dec 8, 2024
15c3e13
Update quest.py
cringe-neko-girl Dec 8, 2024
4aede8e
Update quest.py
cringe-neko-girl Dec 8, 2024
fb78d9a
Update quest.py
cringe-neko-girl Dec 8, 2024
baf52b5
Update quest.py
cringe-neko-girl Dec 8, 2024
988143c
Update quest.py
cringe-neko-girl Dec 8, 2024
27d3cf5
Update quest.py
cringe-neko-girl Dec 8, 2024
08b8b91
Add files via upload
cringe-neko-girl Dec 8, 2024
17e4704
Update quest.py
cringe-neko-girl Dec 8, 2024
86f285a
Update quest.py
cringe-neko-girl Dec 8, 2024
265699b
Update quest.py
cringe-neko-girl Dec 8, 2024
8c66d8a
Update quest.py
cringe-neko-girl Dec 8, 2024
cae23c5
Update quest_events.py
cringe-neko-girl Dec 8, 2024
6a7a67d
Update code_logger.py
cringe-neko-girl Dec 8, 2024
a1830ac
Update ai.py
cringe-neko-girl Dec 8, 2024
94ec8d0
Update quest.py
cringe-neko-girl Dec 8, 2024
7fa79db
Update quest.py
cringe-neko-girl Dec 8, 2024
4f8dca6
Update quest.py
cringe-neko-girl Dec 8, 2024
30dd5f2
Update quest.py
cringe-neko-girl Dec 8, 2024
6537d24
Update quest.py
cringe-neko-girl Dec 8, 2024
7be7bc9
Create Dockerfile
cringe-neko-girl Dec 9, 2024
4cc5094
Update main.py
cringe-neko-girl Dec 9, 2024
1316e71
Delete Dockerfile
cringe-neko-girl Dec 9, 2024
4f29f64
Create vercel.json
cringe-neko-girl Dec 9, 2024
a924f7e
Create python-app.yml
cringe-neko-girl Dec 9, 2024
449ce4c
Update python-app.yml
cringe-neko-girl Dec 9, 2024
63f7c36
Update main.py
cringe-neko-girl Dec 9, 2024
66c0135
Update python-app.yml
cringe-neko-girl Dec 9, 2024
325d969
Update python-app.yml
cringe-neko-girl Dec 9, 2024
5880b86
Delete .github/workflows/python-app.yml
cringe-neko-girl Dec 9, 2024
a27200c
Delete vercel.json
cringe-neko-girl Dec 9, 2024
64a1c53
Update quest.py
cringe-neko-girl Dec 9, 2024
c3b20fe
Update quest.py
cringe-neko-girl Dec 9, 2024
2919e26
Update main.py
cringe-neko-girl Dec 9, 2024
188622b
Create ping.ymal
cringe-neko-girl Dec 9, 2024
1bb0cea
Update ping.ymal
cringe-neko-girl Dec 9, 2024
d43621f
Update quest.py
cringe-neko-girl Dec 9, 2024
2550dae
Update quest.py
cringe-neko-girl Dec 9, 2024
f449b0e
Update main.py
cringe-neko-girl Dec 11, 2024
cecb3c1
Update main.py
cringe-neko-girl Dec 11, 2024
10e59d1
Update main.py
cringe-neko-girl Dec 11, 2024
262423f
Update main.py
cringe-neko-girl Dec 11, 2024
4de7d34
Update .env
cringe-neko-girl Dec 11, 2024
43d3e85
Update main.py
cringe-neko-girl Dec 11, 2024
16bf4c3
Update and rename .github/.env to .github/.gitignore/.env
cringe-neko-girl Dec 11, 2024
4538789
Rename .github/.gitignore/.env to .github/.env
cringe-neko-girl Dec 11, 2024
66e3263
Create .gitignore
cringe-neko-girl Dec 11, 2024
0697979
Create Dockerfile
cringe-neko-girl Dec 12, 2024
1ac2c50
Update main.py
cringe-neko-girl Dec 12, 2024
21c011d
Update main.py
cringe-neko-girl Dec 12, 2024
1f48ecb
Update main.py
cringe-neko-girl Dec 12, 2024
71907ec
Create .deepsource.toml
cringe-neko-girl Dec 12, 2024
002348e
Update .env
cringe-neko-girl Dec 12, 2024
914ff7b
Update Dockerfile
cringe-neko-girl Dec 12, 2024
7aaf5fa
Update Dockerfile
cringe-neko-girl Dec 12, 2024
7a73a1c
Update main.py
cringe-neko-girl Dec 12, 2024
cb5db0f
Update .env
cringe-neko-girl Dec 12, 2024
859e512
Update main.py
cringe-neko-girl Dec 12, 2024
275ee49
Update main.py
cringe-neko-girl Dec 12, 2024
ff07982
Update main.py
cringe-neko-girl Dec 12, 2024
0bbcc78
Update .gitignore
cringe-neko-girl Dec 12, 2024
b975bbf
Update .gitignore to exclude .env
cringe-neko-girl Dec 12, 2024
28e1f7b
Create .env
cringe-neko-girl Dec 12, 2024
0e8ef4d
Remove .env file from Git history
cringe-neko-girl Dec 12, 2024
ef670ec
Update .gitignore to ignore .github/.env
cringe-neko-girl Dec 12, 2024
534b589
Create .env
cringe-neko-girl Dec 12, 2024
61ec7d3
Add .env to .gitignore and stop tracking it
cringe-neko-girl Dec 12, 2024
69aa18a
Create .env
cringe-neko-girl Dec 12, 2024
cc3fe41
Update .env
cringe-neko-girl Dec 12, 2024
2ca3bf9
Update main.py
cringe-neko-girl Dec 12, 2024
f2b3c7c
Update .env
cringe-neko-girl Dec 12, 2024
d150e9e
Update .env
cringe-neko-girl Dec 12, 2024
ad6bcde
Update main.py
cringe-neko-girl Dec 12, 2024
329dc4f
Update .env
cringe-neko-girl Dec 12, 2024
69ccea1
Update .env
cringe-neko-girl Dec 12, 2024
6853d3c
Update main.py
cringe-neko-girl Dec 12, 2024
a688476
Update main.py
cringe-neko-girl Dec 12, 2024
c2647cf
Update main.py
cringe-neko-girl Dec 12, 2024
32009cb
Update main.py
cringe-neko-girl Dec 12, 2024
e91caf8
Update main.py
cringe-neko-girl Dec 12, 2024
1c64df7
Update .env
cringe-neko-girl Dec 12, 2024
7e419e5
Update .env
cringe-neko-girl Dec 12, 2024
4122a40
Update .deepsource.toml
cringe-neko-girl Dec 12, 2024
161609c
Update .deepsource.toml
cringe-neko-girl Dec 12, 2024
88cf280
updated
cringe-neko-girl Dec 12, 2024
5553fd6
Update main.py
cringe-neko-girl Dec 12, 2024
9b708fa
Update help.py
cringe-neko-girl Dec 12, 2024
5bff1f7
done
cringe-neko-girl Dec 14, 2024
c56bc02
done
cringe-neko-girl Dec 14, 2024
610e7c6
no error please
cringe-neko-girl Dec 14, 2024
69e10fd
fixed json
cringe-neko-girl Dec 14, 2024
70bc8b2
updated inventory
cringe-neko-girl Dec 14, 2024
7795067
added emoji fixed label for SpyToolSelect
cringe-neko-girl Dec 14, 2024
6c1731c
added emoji fixed label for SpyToolSelect by fixing str bug
cringe-neko-girl Dec 14, 2024
79605ca
Updated Inventory
cringe-neko-girl Dec 14, 2024
f1e9835
Fixed the except Exception as e:
cringe-neko-girl Dec 14, 2024
5f953bf
added tools.py
cringe-neko-girl Dec 14, 2024
92767e6
added redis to requirements.txt
cringe-neko-girl Dec 14, 2024
b243754
attempted to fixed (argument of type 'int' is not iterable
cringe-neko-girl Dec 14, 2024
065e8b2
finished for today
cringe-neko-girl Dec 14, 2024
4688f6e
Updated 1/3
cringe-neko-girl Dec 14, 2024
6b7aa07
Update Dockerfile
cringe-neko-girl Dec 15, 2024
700ef09
Create deployment.yaml
cringe-neko-girl Dec 15, 2024
5f1e3cc
updated buy_tool_callback
cringe-neko-girl Dec 15, 2024
c94cef2
updated buy_tool_callback
cringe-neko-girl Dec 15, 2024
ceda32c
Create SECURITY.md
cringe-neko-girl Dec 15, 2024
2093cd6
Update SECURITY.md
cringe-neko-girl Dec 15, 2024
8ffcf14
fixed check_inventory
cringe-neko-girl Dec 15, 2024
ea0d11f
fixed handle_spy_briefcase
cringe-neko-girl Dec 15, 2024
43e669d
handle_spy_briefcase
cringe-neko-girl Dec 15, 2024
bcfd0cc
Update Dockerfile
cringe-neko-girl Dec 15, 2024
ad90068
Update Dockerfile
cringe-neko-girl Dec 15, 2024
f12e80f
Update Dockerfile
cringe-neko-girl Dec 15, 2024
41a6ad4
Update Dockerfile
cringe-neko-girl Dec 15, 2024
f1a6342
updated add_stolen_balance
cringe-neko-girl Dec 15, 2024
249ce0c
Create main.ymal
cringe-neko-girl Dec 15, 2024
31ec63e
Update .gitignore
cringe-neko-girl Dec 15, 2024
57163ea
Create LICENSE
cringe-neko-girl Dec 16, 2024
08762b7
Update SECURITY.md
cringe-neko-girl Dec 16, 2024
7deae12
Create CODE_OF_CONDUCT.md
cringe-neko-girl Dec 16, 2024
2627b9b
Update CODE_OF_CONDUCT.md
cringe-neko-girl Dec 16, 2024
809a7ca
Update SECURITY.md
cringe-neko-girl Dec 16, 2024
ec76b1d
Rename .github/deployment.yaml to .github/workflows/deployment.yaml
cringe-neko-girl Dec 16, 2024
d2e25b9
Rename .github/ping.ymal to .github/workflows/ping.ymal
cringe-neko-girl Dec 16, 2024
c48aa06
Create .gitignore
cringe-neko-girl Dec 16, 2024
3895a72
Update .gitignore
cringe-neko-girl Dec 16, 2024
9408581
Update .gitignore
cringe-neko-girl Dec 16, 2024
597583f
make events for q_roles
cringe-neko-girl Dec 17, 2024
0258c58
Updated q_roles embed
cringe-neko-girl Dec 17, 2024
220fa2f
Rename .github/.env to .env
cringe-neko-girl Dec 17, 2024
d1f5af1
Update .gitignore
cringe-neko-girl Dec 17, 2024
1c5fe99
Rename .env to .github/.env
cringe-neko-girl Dec 17, 2024
968783c
.
cringe-neko-girl Dec 17, 2024
a617a51
added from Imports.discord_imports import *
cringe-neko-girl Dec 17, 2024
f666d84
Update Dockerfile
cringe-neko-girl Dec 17, 2024
4ebaabe
Update .gitignore
cringe-neko-girl Dec 17, 2024
9e985e1
Update main.py
cringe-neko-girl Dec 17, 2024
5ad00a4
upated handle_key_chain_sheep
cringe-neko-girl Dec 17, 2024
04524db
updated inventory function
cringe-neko-girl Dec 17, 2024
636aeab
fixed Invertory function
cringe-neko-girl Dec 17, 2024
12b9f4e
updated Invertory function
cringe-neko-girl Dec 17, 2024
5479ec7
updated Invertory function
cringe-neko-girl Dec 17, 2024
97b132c
updated Invertory function
cringe-neko-girl Dec 17, 2024
5a8edc7
updated Invertory function
cringe-neko-girl Dec 17, 2024
bee4230
updated Invertory function
cringe-neko-girl Dec 17, 2024
009dadb
updated Invertory function
cringe-neko-girl Dec 17, 2024
5c69f7c
updated Invertory function
cringe-neko-girl Dec 17, 2024
209fc3f
Updated handle_key_chain_sheep
cringe-neko-girl Dec 17, 2024
9827356
Updated handle_key_chain_sheep
cringe-neko-girl Dec 17, 2024
437b1c2
Quest stuff
cringe-neko-girl Dec 17, 2024
d8a8956
removed thing
cringe-neko-girl Dec 17, 2024
b9fc665
Rename render.ymal to .github /workflows/render.ymal
cringe-neko-girl Dec 17, 2024
03bc6f1
Rename render.ymal to render.ymal
cringe-neko-girl Dec 17, 2024
bce7413
Delete test.txt
cringe-neko-girl Dec 17, 2024
e902341
updated Quest_View
cringe-neko-girl Dec 17, 2024
cbf524b
updated Quest_View
cringe-neko-girl Dec 17, 2024
4c5c6e9
added quest things
cringe-neko-girl Dec 17, 2024
9244471
updated Quest_View
cringe-neko-girl Dec 17, 2024
b8431bf
updated Quest_View
cringe-neko-girl Dec 17, 2024
2f0ec8a
updated SpyToolSelect
cringe-neko-girl Dec 17, 2024
77e0202
updated shop.json
cringe-neko-girl Dec 17, 2024
bcb6945
updated shop.json
cringe-neko-girl Dec 17, 2024
4a721ef
added detection
cringe-neko-girl Dec 18, 2024
502f7cc
added detection
cringe-neko-girl Dec 18, 2024
bca0510
added detection
cringe-neko-girl Dec 18, 2024
0eeed61
updated main
cringe-neko-girl Dec 18, 2024
ff3a7f0
updated main
cringe-neko-girl Dec 18, 2024
8381699
updated main
cringe-neko-girl Dec 18, 2024
a01980c
updated detection theif protection
cringe-neko-girl Dec 18, 2024
3c2f7d8
updated detection theif protection
cringe-neko-girl Dec 18, 2024
8d70a42
updated all of poketwo detection
cringe-neko-girl Dec 18, 2024
b605ce3
updated main.py
cringe-neko-girl Dec 18, 2024
392a756
fixed pokemon_detection
cringe-neko-girl Dec 19, 2024
d51586f
completed
cringe-neko-girl Dec 19, 2024
16255d2
completed
cringe-neko-girl Dec 19, 2024
76d6631
Update shiny_ping_config.json
cringe-neko-girl Dec 19, 2024
59a128e
Update poketwo_anti_thief.py
cringe-neko-girl Dec 19, 2024
64977fb
Update shiny_ping_config.json
cringe-neko-girl Dec 19, 2024
bc1d07f
finished commit updating process_pings
cringe-neko-girl Dec 19, 2024
d96ac76
tried to fix broken stuff
cringe-neko-girl Dec 20, 2024
57a175f
fixed some bugs
cringe-neko-girl Dec 20, 2024
c17ccdf
attemped to fix it again
cringe-neko-girl Dec 20, 2024
64290ee
...
cringe-neko-girl Dec 20, 2024
f13d154
tried again to fix error
cringe-neko-girl Dec 20, 2024
21af327
attempt fix 1
cringe-neko-girl Dec 20, 2024
2bfd4b9
done with testing ... it worked
cringe-neko-girl Dec 20, 2024
44dcea0
patched all errors
cringe-neko-girl Dec 20, 2024
b2788ab
Patched Issues
cringe-neko-girl Dec 20, 2024
f887c6e
updated
cringe-neko-girl Dec 22, 2024
1b8015d
updated
cringe-neko-girl Dec 22, 2024
18cd0c1
added thing
cringe-neko-girl Dec 22, 2024
6f525f0
updated const
cringe-neko-girl Dec 22, 2024
ff207d9
finished
cringe-neko-girl Dec 22, 2024
b02e0ff
m...
cringe-neko-girl Dec 22, 2024
c8f71a2
done
cringe-neko-girl Dec 22, 2024
ee6d692
done
cringe-neko-girl Dec 22, 2024
174e5d0
added emoji command
cringe-neko-girl Dec 25, 2024
17e4698
updated emoji command
cringe-neko-girl Dec 25, 2024
f4b453e
updated emoji command
cringe-neko-girl Dec 25, 2024
173576c
Update pokemon.py
cringe-neko-girl Dec 27, 2024
1db249f
Update poketwo_anti_thief.py
cringe-neko-girl Dec 27, 2024
df943e8
Update information.py
cringe-neko-girl Dec 27, 2024
da230ba
Update requirements.txt
cringe-neko-girl Dec 27, 2024
f21ce5d
Update const.py
cringe-neko-girl Dec 27, 2024
10a0a43
Update system.py
cringe-neko-girl Dec 27, 2024
7087522
updated systems
cringe-neko-girl Dec 27, 2024
ac2ae15
updated systems
cringe-neko-girl Dec 27, 2024
4455afa
updated systems
cringe-neko-girl Dec 27, 2024
d30a4e8
updated systems
cringe-neko-girl Dec 27, 2024
74a2884
updated pokemon
cringe-neko-girl Dec 27, 2024
94207f9
updated pokemon
cringe-neko-girl Dec 27, 2024
9fd5968
Updated Pokemon on_message
cringe-neko-girl Dec 27, 2024
817836c
Updated Pokemon on_message
cringe-neko-girl Dec 27, 2024
d2cb2b8
Updated Pokemon on_message
cringe-neko-girl Dec 27, 2024
34a2d3a
Updated main
cringe-neko-girl Dec 27, 2024
f0b966b
Updated thief protection
cringe-neko-girl Dec 27, 2024
c4b70e8
Update pokemon.py (#9)
cringe-neko-girl Dec 27, 2024
070794f
Update pokemon.py
cringe-neko-girl Dec 27, 2024
464ba54
Update shiny_ping_config.json
cringe-neko-girl Dec 27, 2024
e761cf9
Update pokemon.py
cringe-neko-girl Dec 27, 2024
2b6ea83
Update pokemon.py
cringe-neko-girl Dec 27, 2024
c09a168
Update shiny_ping_config.json
cringe-neko-girl Dec 27, 2024
d66d5a3
Update pokemon.py
cringe-neko-girl Dec 27, 2024
3da1cae
added memo
yakunitatta-senko Dec 28, 2024
2156336
Update poketwo_anti_thief.py
cringe-neko-girl Jan 6, 2025
7d7a124
Update pokemon.py
cringe-neko-girl Jan 7, 2025
f85e39d
Update poketwo_anti_thief.py
cringe-neko-girl Jan 7, 2025
265a24e
Update pokemon.py
cringe-neko-girl Jan 7, 2025
ef19a5b
Update pokemon.py
cringe-neko-girl Jan 8, 2025
be65389
done
cringe-neko-girl Jan 9, 2025
479921f
done
cringe-neko-girl Jan 9, 2025
83d6bd6
done
yakunitatta-senko Jan 10, 2025
d4ab5b0
done
yakunitatta-senko Jan 10, 2025
2648357
Rename .deepsource.toml to deepsource.toml
cringe-neko-girl Jan 11, 2025
f72d894
Update and rename deepsource.toml to .deepsource.toml
cringe-neko-girl Jan 11, 2025
d0a81fc
Update .deepsource.toml
cringe-neko-girl Jan 11, 2025
c531b5e
Update .deepsource.toml
cringe-neko-girl Jan 11, 2025
931c56f
Update .deepsource.toml (#13)
cringe-neko-girl Jan 11, 2025
9d6c51b
refactor: simplify the `if` statement (#14)
deepsource-autofix[bot] Jan 11, 2025
027e193
Update .deepsource.toml
cringe-neko-girl Jan 11, 2025
b5eceb1
refactor: remove unused imports (#18)
deepsource-autofix[bot] Jan 11, 2025
13c0fda
Update .deepsource.toml (#20)
cringe-neko-girl Jan 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version = 1

[[analyzers]]
name = "python"
enabled = true

[analyzers.meta]
runtime_version = "3.x.x"
1 change: 0 additions & 1 deletion .env

This file was deleted.

167 changes: 167 additions & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
# Node.js related files:
## Grunt intermediate storage
.grunt

## Dependency directory (node_modules)
node_modules

# Book build output
_book

# eBook build output (formats: epub, mobi, pdf)
*.epub
*.mobi
*.pdf

# Python related files:
## Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

## C extensions
*.so

## Distribution / packaging files
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

## PyInstaller files (manifest and spec)
*.manifest
*.spec

## Installer logs
pip-log.txt
pip-delete-this-directory.txt

## Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

## Translations (mo, pot files)
*.mo
*.pot

## Django related files
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

## Flask related files
instance/
.webassets-cache

## Scrapy related files
.scrapy

## Sphinx documentation build output
docs/_build/

## PyBuilder files
.pybuilder/
target/

## Jupyter Notebook checkpoints
.ipynb_checkpoints

## IPython configuration files
profile_default/
ipython_config.py

## pyenv (Python version manager)
# .python-version (typically used for environment-specific versions)

## pipenv files
# Pipfile.lock (may be included in version control for certain use cases)

## poetry files
# poetry.lock (generally recommended to include for binary packages)

## pdm files (Python Dependency Manager)
.pdm.toml
.pdm-python
.pdm-build/

## PEP 582 (local project packages)
__pypackages__/

## Celery files (task scheduler)
celerybeat-schedule
celerybeat.pid

## SageMath parsed files
*.sage.py

## Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDE related files:
## Spyder project settings
.spyderproject
.spyproject

## Rope project settings
.ropeproject

## mkdocs documentation build output
/site

## Type checkers
### mypy cache
.mypy_cache/
.dmypy.json
dmypy.json

### Pyre type checker
.pyre/

### pytype static type analyzer
.pytype/

## Cython debug symbols
cython_debug/

## JetBrains IDEs (e.g., PyCharm, IntelliJ)
# Uncomment if you don't have the global JetBrains.gitignore
# .idea/

# Ignore .env files in the root and subdirectories
.env
*.env
**/.env
.github/.env

22 changes: 22 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: anya-bot # The name of your bot deployment
spec:
replicas: 1 # Set the number of pods to run (1 pod for now)
selector:
matchLabels:
app: anya-bot # Label selector to match the pod's label
template:
metadata:
labels:
app: anya-bot # Label the pod with the 'anya-bot' label
spec:
containers:
- name: anya-bot # Name of the container inside the pod
image: anya-devs/anya-bot:latest # Replace with your actual image name
ports:
- containerPort: 80 # Port the container will expose (adjust as needed)
envFrom:
- configMapRef:
name: anya-bot-config # Reference to the ConfigMap for environment variables
32 changes: 32 additions & 0 deletions .github/workflows/main.ymal
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Anya-Bot

on:
push:
branches:
- main # or any other branch you want the runner to respond to
pull_request:
branches:
- main

jobs:
build:
runs-on: self-hosted

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.8 # Update this based on your project requirements

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Run the bot
run: |
source .github/.env
python main.py
18 changes: 18 additions & 0 deletions .github/workflows/ping.ymal
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Python Ping Test

on:
push:
branches:
- main
pull_request:

jobs:
ping:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Test Ping
run: echo "Ping successful!"
18 changes: 18 additions & 0 deletions .github/workflows/render.ymal
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 1
services:
- type: web
name: discord-bot
env: python
buildCommand: "pip install --upgrade pip && pip install -r requirements.txt && pip install numpy"
startCommand: "python main.py"
envVars:
- key: TOKEN
value: ${TOKEN}
- key: PORT
value: "8080" # Add the port to environment variables
branch: main
repo: https://github.com/Anya-Devs/Anya-Bot.git
pullRequestPreviews: false
autoDeploy: true
restartPolicy: always
port: 8080 # Port is explicitly set here for Render
Loading