updated Files

This commit is contained in:
2024-10-26 22:07:18 +08:00
parent 2d302551f9
commit 11241875b0
6 changed files with 11 additions and 40 deletions
-7
View File
@@ -1,7 +0,0 @@
contact_links:
- name: ❔ Questions / Help
url: https://github.com/eritislami/evobot/discussions
about: Please use GitHub Discussions for help and questions, do not start an issue.
- name: 📃 Discord.js Guide
url: https://discordjs.guide/
about: The official guide for discord.js
+5 -5
View File
@@ -1,7 +1,7 @@
ARG NODE_VERSION=18.18.2-slim ARG NODE_VERSION=18.18.2-slim
FROM node:${NODE_VERSION} as base FROM node:${NODE_VERSION} as base
ENV USER=evobot ENV USER=Apollo
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends python3 build-essential && \ apt-get install -y --no-install-recommends python3 build-essential && \
@@ -9,10 +9,10 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN groupadd -r ${USER} && \ RUN groupadd -r ${USER} && \
useradd --create-home --home /home/evobot -r -g ${USER} ${USER} useradd --create-home --home /home/apollo -r -g ${USER} ${USER}
USER ${USER} USER ${USER}
WORKDIR /home/evobot WORKDIR /home/apollo
FROM base as build FROM base as build
@@ -26,7 +26,7 @@ RUN rm -rf node_modules && \
FROM node:${NODE_VERSION} as prod FROM node:${NODE_VERSION} as prod
COPY --chown=${USER}:${USER} package*.json ./ COPY --chown=${USER}:${USER} package*.json ./
COPY --from=build --chown=${USER}:${USER} /home/evobot/node_modules ./node_modules COPY --from=build --chown=${USER}:${USER} /home/apollo/node_modules ./node_modules
COPY --from=build --chown=${USER}:${USER} /home/evobot/dist ./dist COPY --from=build --chown=${USER}:${USER} /home/apollo/dist ./dist
CMD [ "node", "./dist/index.js" ] CMD [ "node", "./dist/index.js" ]
+1 -18
View File
@@ -1,12 +1,8 @@
![Node build](https://github.com/eritislami/evobot/actions/workflows/node.yml/badge.svg)
![Docker build](https://github.com/eritislami/evobot/actions/workflows/docker.yml/badge.svg)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
![logo](https://repository-images.githubusercontent.com/186841818/8aa95700-7730-11e9-84be-e80f28520325) ![logo](https://repository-images.githubusercontent.com/186841818/8aa95700-7730-11e9-84be-e80f28520325)
# 🤖 EvoBot (Discord Music Bot)
> EvoBot is a Discord Music Bot built with TypeScript, discord.js & uses Command Handler from [discordjs.guide](https://discordjs.guide)
## Requirements ## Requirements
@@ -17,8 +13,6 @@
## 🚀 Getting Started ## 🚀 Getting Started
```sh ```sh
git clone https://github.com/eritislami/evobot.git
cd evobot
npm install npm install
``` ```
@@ -43,10 +37,9 @@ Copy or Rename `config.json.example` to `config.json` and fill out the values:
## 🐬 Docker Configuration ## 🐬 Docker Configuration
For those who would prefer to use our [Docker container](https://hub.docker.com/repository/docker/eritislami/evobot), you may provide values from `config.json` as environment variables.
```shell ```shell
docker run -e "TOKEN=<discord-token>" eritislami/evobot docker run -e "TOKEN=<discord-token>" f04c/apollo
``` ```
## 📝 Features & Commands ## 📝 Features & Commands
@@ -125,13 +118,3 @@ Currently available locales are:
- Vietnamese (vi) - Vietnamese (vi)
- Check [Contributing](#-contributing) if you wish to help add more languages! - Check [Contributing](#-contributing) if you wish to help add more languages!
- For languages please use [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) two letter format - For languages please use [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) two letter format
## 🤝 Contributing
1. [Fork the repository](https://github.com/eritislami/evobot/fork)
2. Clone your fork: `git clone https://github.com/your-username/evobot.git`
3. Create your feature branch: `git checkout -b my-new-feature`
4. Stage changes `git add .`
5. Commit your changes: `cz` OR `npm run commit` do not use `git commit`
6. Push to the branch: `git push origin my-new-feature`
7. Submit a pull request
+2 -4
View File
@@ -1,7 +1,5 @@
{ {
"name": "EvoBot", "name": "Apollo",
"description": "🤖 Discord Music Bot built with discord.js", "description": "Discord Music Bot built with discord.js",
"repository": "https://github.com/eritislami/evobot",
"logo": "https://i.imgur.com/JFxgbWH.png",
"keywords": ["discord", "discordjs", "typescript", "music", "bot"] "keywords": ["discord", "discordjs", "typescript", "music", "bot"]
} }
+2 -2
View File
@@ -1,11 +1,11 @@
{ {
"name": "evobot", "name": "apollo",
"version": "2.9.0", "version": "2.9.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "evobot", "name": "apollo",
"version": "2.9.0", "version": "2.9.0",
"dependencies": { "dependencies": {
"@discordjs/voice": "^0.17.0", "@discordjs/voice": "^0.17.0",
+1 -4
View File
@@ -1,13 +1,10 @@
{ {
"name": "evobot", "name": "apollo",
"version": "2.9.0", "version": "2.9.0",
"description": "Discord music bot built with discord.js", "description": "Discord music bot built with discord.js",
"main": "index.ts", "main": "index.ts",
"author": "Erit Islami <eritislami@gmail.com>", "author": "Erit Islami <eritislami@gmail.com>",
"private": true, "private": true,
"homepage": "https://github.com/eritislami/evobot",
"repository": "github:eritislami/evobot",
"bugs": "https://github.com/eritislami/evobot/issues",
"engines": { "engines": {
"node": ">=16.11.0" "node": ">=16.11.0"
}, },