From bfb96053809e8a09426bbf9e5078d41e7c6db497 Mon Sep 17 00:00:00 2001 From: David Malchin Date: Fri, 25 Oct 2024 19:15:56 +0300 Subject: [PATCH] Rename to `d4_discordbot` --- .github/workflows/build.yml | 10 +++++----- CHANGELOG.md | 2 +- README.md | 2 +- discordbot.cfg | 2 +- fxmanifest.lua | 2 +- package-lock.json | 3 ++- package.json | 1 + 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bde3f5..30ae6a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,14 +55,14 @@ jobs: rm -rf "./package-lock.json" rm -rf "./package.json" - mkdir ../discordbot-out - mv -v * ../discordbot-out/ - mv -v ../discordbot-out/ ./discordbot/ + mkdir ../d4_discordbot-out + mv -v * ../d4_discordbot-out/ + mv -v ../d4_discordbot-out/ ./d4_discordbot/ - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: discordbot + name: d4_discordbot path: | ./* @@ -81,7 +81,7 @@ jobs: - name: Archive shell: bash run: | - 7z a "discordbot.zip" "./discordbot/discordbot" + 7z a "d4_discordbot.zip" "./d4_discordbot/d4_discordbot" - name: Draft release uses: softprops/action-gh-release@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 786304a..6688497 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,4 +9,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [unreleased commits] -[unreleased commits]: https://github.com/D4isDAVID/discordbot/commits/main +[unreleased commits]: https://github.com/D4isDAVID/d4_discordbot/commits/main diff --git a/README.md b/README.md index bbc101b..2418b52 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# discordbot +# d4_discordbot > [!NOTE] > This project is still in development. diff --git a/discordbot.cfg b/discordbot.cfg index 1b05b1d..a00e67d 100644 --- a/discordbot.cfg +++ b/discordbot.cfg @@ -2,7 +2,7 @@ # To actually change these settings you can: # - copy this file elsewhere, modify, and execute it from another cfg file; # - copy and modify the individual convars you wish to configure; -# - or modify this file, and execute it directly from another cfg file via the command `exec @discordbot/discordbot.cfg`. +# - or modify this file, and execute it directly from another cfg file via the command `exec @d4_discordbot/discordbot.cfg`. # The bot token to use for Discord API authentication. set discordbot:botToken "YOUR_BOT_TOKEN_HERE" diff --git a/fxmanifest.lua b/fxmanifest.lua index 9b268c3..e4e21c5 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -4,7 +4,7 @@ game 'gta5' version '0.1.0-dev' description 'Discord integration for FiveM servers' author 'David Malchin ' -repository 'https://github.com/D4isDAVID/discordbot' +repository 'https://github.com/D4isDAVID/d4_discordbot' server_only 'yes' diff --git a/package-lock.json b/package-lock.json index 56d6976..4807a29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9 +1,10 @@ { - "name": "discordbot", + "name": "d4_discordbot", "lockfileVersion": 3, "requires": true, "packages": { "": { + "name": "d4_discordbot", "hasInstallScript": true, "dependencies": { "@discordjs/collection": "1.5.2", diff --git a/package.json b/package.json index 4d717f9..de1d02f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "$schema": "https://json.schemastore.org/package", + "name": "d4_discordbot", "private": true, "type": "module", "scripts": {