Skip to content

Commit 2677234

Browse files
committed
Rename project from rustPlusPlus -> rustplusplus
1 parent 5d0c8d4 commit 2677234

File tree

100 files changed

+135
-135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+135
-135
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</a>
1818
</p>
1919

20-
<h1 align="center"><em><b>rustPlusPlus</b> ~ Rust+ Discord Bot</em></h1>
20+
<h1 align="center"><em><b>rustplusplus</b> ~ Rust+ Discord Bot</em></h1>
2121
</p>
2222

2323
A NodeJS Discord Bot that uses the [rustplus.js](https://github.com/liamcottle/rustplus.js) library to utilize the power of the [Rust+ Companion App](https://rust.facepunch.com/companion) with additional Quality-of-Life features.
@@ -46,7 +46,7 @@ A NodeJS Discord Bot that uses the [rustplus.js](https://github.com/liamcottle/r
4646
4747
## **Credentials**
4848

49-
> You can get your credentials by running the `rustPlusPlus FCM Credential Application`. Download it [here](https://github.com/alexemanuelol/rustPlusPlus-Credential-Application/releases/download/v1.1.0/rustPlusPlus-1.1.0-win-x64.exe)
49+
> You can get your credentials by running the `rustplusplus FCM Credential Application`. Download it [here](https://github.com/alexemanuelol/rustplusplus-Credential-Application/releases/download/v1.1.0/rustPlusPlus-1.1.0-win-x64.exe)
5050
5151

5252
## **How to run the bot**
@@ -69,7 +69,7 @@ or
6969

7070
## **Running via docker**
7171

72-
$ docker run --rm -it -v ${pwd}/credentials:/app/credentials -v ${pwd}/instances:/app/instances -v ${pwd}/logs:/app/logs -e RPP_DISCORD_CLIENT_ID=111....1111 -e RPP_DISCORD_TOKEN=token --name rpp ghcr.io/alexemanuelol/rustPlusPlus
72+
$ docker run --rm -it -v ${pwd}/credentials:/app/credentials -v ${pwd}/instances:/app/instances -v ${pwd}/logs:/app/logs -e RPP_DISCORD_CLIENT_ID=111....1111 -e RPP_DISCORD_TOKEN=token --name rpp ghcr.io/alexemanuelol/rustplusplus
7373

7474
or
7575

config/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

@@ -25,7 +25,7 @@ module.exports = {
2525
showCallStackError: process.env.RPP_LOG_CALL_STACK || false
2626
},
2727
discord: {
28-
username: process.env.RPP_DISCORD_USERNAME || 'rustPlusPlus',
28+
username: process.env.RPP_DISCORD_USERNAME || 'rustplusplus',
2929
clientId: process.env.RPP_DISCORD_CLIENT_ID || '',
3030
token: process.env.RPP_DISCORD_TOKEN || '',
3131
needAdminPrivileges: process.env.RPP_NEED_ADMIN_PRIVILEGES || true, /* If true, only admins can delete (server, switch..), manage credentials and reset a channel */

docs/commands.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Slash Command | Description
1818
[**/market**](commands.md#market) | Operations for In-Game Vending Machines.
1919
[**/players**](commands.md#players) | Get player/players information based on battlemetrics.
2020
[**/reset**](commands.md#reset) | Reset Discord channels.
21-
[**/role**](commands.md#role) | Set/Clear a specific role that will be able to see the rustPlusPlus category content.
21+
[**/role**](commands.md#role) | Set/Clear a specific role that will be able to see the rustplusplus category content.
2222
[**/storagemonitor**](commands.md#storagemonitors) | Operations on Storage Monitors.
2323
[**/switch**](commands.md#switch) | Operations on Smart Switches.
2424

@@ -155,13 +155,13 @@ Subcommand | Options | Description | Required
155155

156156
## **/role**
157157

158-
> **Set/Clear a specific role that will be able to see the rustPlusPlus category content.**
158+
> **Set/Clear a specific role that will be able to see the rustplusplus category content.**
159159
160160
Subcommand | Options | Description | Required
161161
---------- | ------- | ----------- | --------
162162
`set` | &nbsp; | Set the role. | &nbsp;
163-
&nbsp; | `role` | The role rustPlusPlus channels will be visible to. | `True`
164-
`clear` | &nbsp; | Clear the role (to allow everyone to see the rustPlusPlus channels). | &nbsp;
163+
&nbsp; | `role` | The role rustplusplus channels will be visible to. | `True`
164+
`clear` | &nbsp; | Clear the role (to allow everyone to see the rustplusplus channels). | &nbsp;
165165

166166
![Discord Slash Command role Image](images/role.png)
167167

docs/credentials.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
55
## Retrieving FCM Credentials
66

7-
* Download and install the [rustPlusPlus FCM Credential Application](https://github.com/alexemanuelol/rustPlusPlus-Credential-Application/releases/download/v1.1.0/rustPlusPlus-1.1.0-win-x64.exe)
7+
* Download and install the [rustplusplus FCM Credential Application](https://github.com/alexemanuelol/rustplusplus-Credential-Application/releases/download/v1.1.0/rustPlusPlus-1.1.0-win-x64.exe)
88
* Once downloaded and installed, open it and press the button `Connect with Rust+`.
99

10-
![rustPlusPlus FCM Credential Application Image](images/fcm_credential_application_connect.png)
10+
![rustplusplus FCM Credential Application Image](images/fcm_credential_application_connect.png)
1111

1212
* Another window will pop up where you need to login with your Steam Account.
1313

docs/discord_bot_setup.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
![Setup Discord Bot create an application Image](images/create_an_application_bot_setup.png)
1313

14-
4. Copy the `APPLICATION ID` to the config/index.js file located in repository folder `rustPlusPlus/config/index.js`.
14+
4. Copy the `APPLICATION ID` to the config/index.js file located in repository folder `rustplusplus/config/index.js`.
1515

1616
![Setup Discord Bot copy application id Image](images/copy_application_id_bot_setup.png)
1717

@@ -27,7 +27,7 @@
2727

2828
![Setup Discord Bot reset token Image](images/reset_token_bot_setup.png)
2929

30-
8. Copy the `TOKEN` to the config/index.js file located in repository folder `rustPlusPlus/config/index.js`.
30+
8. Copy the `TOKEN` to the config/index.js file located in repository folder `rustplusplus/config/index.js`.
3131

3232
![Setup Discord Bot bot token Image](images/bot_token_bot_setup.png)
3333

@@ -64,4 +64,4 @@
6464
![Setup Discord Bot bot in server Image](images/bot_in_server_bot_setup.png)
6565

6666
<br>
67-
You have now successfully added a Discord Bot with the desired permissions to your Discord Server. You have also added the Application/Client ID and Bot Token to the configuration file of the rustPlusPlus bot repository.
67+
You have now successfully added a Discord Bot with the desired permissions to your Discord Server. You have also added the Application/Client ID and Bot Token to the configuration file of the rustplusplus bot repository.

docs/documentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# rustPlusPlus Documentation
1+
# rustplusplus Documentation
22

33
## Table of Contents
44

docs/installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Program | Version | Download | Note
1212

1313
Open a terminal (`Git Bash` / `CMD` / `Terminal` / `PowerShell` or similar) and run the following commands:
1414

15-
$ git clone https://github.com/alexemanuelol/rustPlusPlus.git
16-
$ cd rustPlusPlus
15+
$ git clone https://github.com/alexemanuelol/rustplusplus.git
16+
$ cd rustplusplus
1717
$ npm install

index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "rustPlusPlus",
2+
"name": "rustplusplus",
33
"version": "1.8.0",
44
"description": "A NodeJS Discord Bot that uses the rustplus.js library to utilize the power of the Rust+ Companion App with additional Quality-of-Life features.",
55
"main": "index.ts",
@@ -10,14 +10,14 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "https://github.com/alexemanuelol/rustPlusPlus.git"
13+
"url": "https://github.com/alexemanuelol/rustplusplus.git"
1414
},
1515
"author": "Alexemanuelol",
1616
"license": "SEE LICENSE IN LICENSE",
1717
"bugs": {
18-
"url": "https://github.com/alexemanuelol/rustPlusPlus/issues"
18+
"url": "https://github.com/alexemanuelol/rustplusplus/issues"
1919
},
20-
"homepage": "https://github.com/alexemanuelol/rustPlusPlus#readme",
20+
"homepage": "https://github.com/alexemanuelol/rustplusplus#readme",
2121
"dependencies": {
2222
"@discordjs/rest": "^1.6.0",
2323
"@formatjs/intl": "^2.6.9",

src/commands/alarm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/cctv.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
You should have received a copy of the GNU General Public License
1616
along with this program. If not, see <https://www.gnu.org/licenses/>.
1717
18-
https://github.com/alexemanuelol/rustPlusPlus
18+
https://github.com/alexemanuelol/rustplusplus
1919
2020
*/
2121

@@ -24,12 +24,12 @@ const Builder = require('@discordjs/builders');
2424
const DiscordMessages = require('../discordTools/discordMessages.js');
2525

2626
module.exports = {
27-
name: 'cctv',
27+
name: 'cctv',
2828

29-
getData(client, guildId) {
30-
return new Builder.SlashCommandBuilder()
31-
.setName('cctv')
32-
.setDescription(client.intlGet(guildId, 'commandsCctvDesc'))
29+
getData(client, guildId) {
30+
return new Builder.SlashCommandBuilder()
31+
.setName('cctv')
32+
.setDescription(client.intlGet(guildId, 'commandsCctvDesc'))
3333
.addStringOption(option =>
3434
option.setName('monument')
3535
.setDescription(client.intlGet(guildId, 'rustMonument'))
@@ -41,17 +41,17 @@ module.exports = {
4141
{ name: client.intlGet(guildId, 'largeOilRig'), value: 'Large Oil Rig' },
4242
{ name: client.intlGet(guildId, 'outpost'), value: 'Outpost' },
4343
{ name: client.intlGet(guildId, 'smallOilRig'), value: 'Small Oil Rig' },
44-
{ name: client.intlGet(guildId, 'underwaterLab'), value: 'Underwater Labs' },
44+
{ name: client.intlGet(guildId, 'underwaterLab'), value: 'Underwater Labs' },
4545
));
4646

47-
},
47+
},
4848

49-
async execute(client, interaction) {
49+
async execute(client, interaction) {
5050
const monument = interaction.options.getString('monument');
5151
const cctvCodes = client.cctv.getCodes(monument);
5252
const dynamic = client.cctv.isDynamic(monument);
5353

54-
await DiscordMessages.sendCctvMessage(interaction, monument, cctvCodes, dynamic);
55-
client.log(client.intlGet(null, 'infoCap'), client.intlGet(interaction.guildId, 'commandsCctvDesc'));
56-
},
54+
await DiscordMessages.sendCctvMessage(interaction, monument, cctvCodes, dynamic);
55+
client.log(client.intlGet(null, 'infoCap'), client.intlGet(interaction.guildId, 'commandsCctvDesc'));
56+
},
5757
};

src/commands/credentials.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/help.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/leader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/map.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/market.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/players.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/reset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/role.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/storagemonitor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/commands/switch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordEvents/error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordEvents/guildCreate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordEvents/guildMemberRemove.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordEvents/interactionCreate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordEvents/messageCreate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordEvents/rateLimited.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordEvents/ready.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

src/discordTools/RegisterSlashCommands.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
https://github.com/alexemanuelol/rustPlusPlus
17+
https://github.com/alexemanuelol/rustplusplus
1818
1919
*/
2020

0 commit comments

Comments
 (0)