updated Files
This commit is contained in:
@@ -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
@@ -1,7 +1,7 @@
|
||||
ARG NODE_VERSION=18.18.2-slim
|
||||
FROM node:${NODE_VERSION} as base
|
||||
|
||||
ENV USER=evobot
|
||||
ENV USER=Apollo
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends python3 build-essential && \
|
||||
@@ -9,10 +9,10 @@ RUN apt-get update && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
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}
|
||||
WORKDIR /home/evobot
|
||||
WORKDIR /home/apollo
|
||||
|
||||
FROM base as build
|
||||
|
||||
@@ -26,7 +26,7 @@ RUN rm -rf node_modules && \
|
||||
FROM node:${NODE_VERSION} as prod
|
||||
|
||||
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/evobot/dist ./dist
|
||||
COPY --from=build --chown=${USER}:${USER} /home/apollo/node_modules ./node_modules
|
||||
COPY --from=build --chown=${USER}:${USER} /home/apollo/dist ./dist
|
||||
|
||||
CMD [ "node", "./dist/index.js" ]
|
||||
@@ -1,12 +1,8 @@
|
||||

|
||||

|
||||
[](http://commitizen.github.io/cz-cli/)
|
||||
|
||||

|
||||
|
||||
# 🤖 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
|
||||
|
||||
@@ -17,8 +13,6 @@
|
||||
## 🚀 Getting Started
|
||||
|
||||
```sh
|
||||
git clone https://github.com/eritislami/evobot.git
|
||||
cd evobot
|
||||
npm install
|
||||
```
|
||||
|
||||
@@ -43,10 +37,9 @@ Copy or Rename `config.json.example` to `config.json` and fill out the values:
|
||||
|
||||
## 🐬 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
|
||||
docker run -e "TOKEN=<discord-token>" eritislami/evobot
|
||||
docker run -e "TOKEN=<discord-token>" f04c/apollo
|
||||
```
|
||||
|
||||
## 📝 Features & Commands
|
||||
@@ -125,13 +118,3 @@ Currently available locales are:
|
||||
- Vietnamese (vi)
|
||||
- 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
|
||||
|
||||
## 🤝 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
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"name": "EvoBot",
|
||||
"description": "🤖 Discord Music Bot built with discord.js",
|
||||
"repository": "https://github.com/eritislami/evobot",
|
||||
"logo": "https://i.imgur.com/JFxgbWH.png",
|
||||
"name": "Apollo",
|
||||
"description": "Discord Music Bot built with discord.js",
|
||||
"keywords": ["discord", "discordjs", "typescript", "music", "bot"]
|
||||
}
|
||||
|
||||
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "evobot",
|
||||
"name": "apollo",
|
||||
"version": "2.9.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "evobot",
|
||||
"name": "apollo",
|
||||
"version": "2.9.0",
|
||||
"dependencies": {
|
||||
"@discordjs/voice": "^0.17.0",
|
||||
|
||||
+1
-4
@@ -1,13 +1,10 @@
|
||||
{
|
||||
"name": "evobot",
|
||||
"name": "apollo",
|
||||
"version": "2.9.0",
|
||||
"description": "Discord music bot built with discord.js",
|
||||
"main": "index.ts",
|
||||
"author": "Erit Islami <eritislami@gmail.com>",
|
||||
"private": true,
|
||||
"homepage": "https://github.com/eritislami/evobot",
|
||||
"repository": "github:eritislami/evobot",
|
||||
"bugs": "https://github.com/eritislami/evobot/issues",
|
||||
"engines": {
|
||||
"node": ">=16.11.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user