27
27
</a >
28
28
<h1 align =" center " >MonsterHunter Rise Assistant</h1 >
29
29
<p align =" center " >
30
- Description here
30
+ Monster Hunter Rise Assistant is a Discord bot that provides you informations about Monster Hunter Rise monsters.
31
31
<br />
32
32
<a href =" https://discord.com/api/oauth2/authorize?client_id=943181210987933786&permissions=534723950656&scope=bot%20applications.commands " >
33
33
Click here to add this Bot to your guild
72
72
73
73
## About The Project
74
74
75
+ MonsterHunterRise Assistant uses built-in Discord Slash Commands in order to respond to the users requests.
76
+
77
+ All information about monster are stored in ** monsters.json** , file createtd taking informations from <a href =" https://mhrise.kiranico.com/data/monsters " >Kiranico</a >.
78
+
79
+ For example:
80
+
81
+ <p align =" center " >
82
+ <img src="imgs/command.png" align="center" width="300" height="90"/>
83
+ </p >
84
+
85
+ Then insert the monster name
86
+
87
+ <p align =" center " >
88
+ <img src="imgs/command2.png" align="center" width="300" height="90"/>
89
+ </p >
90
+
91
+ <p align =" center " >
92
+ <img src="imgs/command3.png" align="center"/>
93
+ </p >
75
94
76
95
### Built With
77
96
@@ -107,30 +126,22 @@ To get a local copy up and running follow these simple steps.
107
126
108
127
To use the application:
109
128
129
+ - Create the Discord bot with Discord Developer Portal and copy the token
110
130
- Move to the project folder
111
131
` ` ` sh
112
132
cd MonsterHunterRise_Assistant
113
- - Create your configuration file for the Bot
133
+ - Create your ** .env** file
134
+ This .env file is necessary for the bot' s token and ID, inside the file paste
114
135
```sh
115
- touch config.json
116
- ```
117
- This config file is necessary for the bot' s token, inside the file paste
118
- ```sh
119
- {
120
- "clientId" : "paste here your bot client id",
121
- "guildId" : "paste here your guild id",
122
- "token" : "paste here your token"
123
- }
136
+ TOKEN=paste_here_your_bot_token
137
+ BOTID=paste_here_your_bot_id
124
138
```
125
139
- Install the following packages with **npm** package manager
126
140
```sh
141
+ npm install dotenv
127
142
npm install discord.js
128
143
npm install @discordjs/builders @discordjs/rest discord-api-types
129
144
```
130
- - Deploy the slash commands with
131
- ```sh
132
- node src/deploy-commands.js
133
- ```
134
145
- Run with:
135
146
```sh
136
147
node src/index.js
@@ -145,6 +156,11 @@ See the [open issues](https://github.com/Federicoand98/MonsterHunterRise_Assista
145
156
### Future developments
146
157
147
158
<!-- CONTRIBUTING -->
159
+ - [] Creating a new json db file for weapon informations
160
+ - [] Creating a new json db file for armor and skills
161
+ - [] Creating a new json db file for quests
162
+ - [] Give the possibility to retrieve weapon, armor and quests information
163
+ - [] New command that calculate the best weapon and element against monster requested
148
164
149
165
## Contributing
150
166
0 commit comments