You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Refer to .env_example file for other usable environment variables*
51
+
```
52
+
DISCORD_TOKEN=
53
+
```
54
+
55
+
Run the following command on your CLI
56
+
```
57
+
npm install
58
+
59
+
npm start
60
+
```
61
+
16
62
### Why should you invite Mai?
17
63
Mai is a simple yet powerful Discord Bot that aims to give discord users an enhanced "Discord Experience". Mai provides a variety of fun and informative commands that you can use with your friends.
18
64
19
65
Mai can:
20
66
- Spice up chat environment with the use of roleplay/action commands such as pat, hug, slap, and more! </font> <br />
21
67
- Search through the internet for information resources through various functions such as anime information lookup (series, characters, and even seiyuus!), games (via steam), or even time on some cities. </font> <br />
22
68
- Ease the work of moderators by managing the server through various single commands. </font> <br />
23
-
- Provide Airing Information automagically, implement user experience system, as well as server-based economy system. </font> <br />
69
+
- Provide Airing Information automagically, implement user experience system, as well as economy system. </font> <br />
24
70
- Acquire totally random fun facts from various sources Mai has access to. </font> <br />
25
71
26
72
@@ -31,34 +77,15 @@ You may invite Mai through https://invite.mai-san.ml.
31
77
If you have questions regarding the bot and it's use, please do join our support server at https://support.mai-san.ml/.
32
78
33
79
### Contribute
34
-
Contribution includes, but is not limited to making a Pull Request. For reference, I have been struggling on proper implementation of the economy command. I am expecting that most contributors will probably be coming from there.
80
+
Contribution includes, but is not limited to making a Pull Request.
35
81
36
82
Pull Requests regarding totally new commands without foretelling the developer via creating issue will automatically be rejected.
37
83
38
84
If you love this work and wish to contribute in another manner, please do join our support server (which isn't much) and ping/mention **Sakurajimai#6742** there.
39
85
40
-
### Credits
41
-
"Give Credit when it's Due" - is a phrase that i love so much. Therefore, i will be mentioning here the projects/people that helped Mai grow as a powerful Discord Bot.
42
-
43
-
-[Discord.js](https://github.com/discordjs/discord.js/) by [discordjs](https://github.com/discordjs/) - a powerful javascript library for interacting with the [Discord API](https://discord.com/developers/docs/intro).
44
-
-[AniList](https://github.com/TehNut/AniSchedule) by [TehNut](https://github.com/TehNut) - an anime announcer made purely on javascript that became the basis for one of Mai's main feature in the present.
45
-
-[Komugari](https://github.com/Mitorisia/Komugari) by [Mitorisia](https://github.com/Mitorisia) - a discord bot written in [Discord.js@Commando](https://github.com/discordjs/Commando) that has been the basis for most of Mai's current commands.
46
-
- The kind people on Discord.js Official, Coding Den, Programmer's Hangout, and Discord API servers that helped me debug errors on my code whenever I fail to solve it myself.
47
-
48
-
Hey you! Yes You! If you've been using Mai as a reference, please give her due credit.
49
86
50
87
### License
51
88
Mai is Licensed under MIT.
52
-
>MIT License
53
-
>
54
-
>Copyright (c) 2020 Sakurajimai#6742
55
-
>
56
-
>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
57
-
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
58
-
>
59
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
60
-
>
61
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.addField(`**${members.get(docs[0].id)?.displayName||'<Unknown User>'}** ranked the highest with **${text.commatize(docs[0].wallet+docs[0].bank)} **Credits!`,
Copy file name to clipboardExpand all lines: commands/social/tip.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ module.exports = {
66
66
.then(()=>message.channel.send([
67
67
`\\✔️ **${message.author.tag}**, tipped **${amount}** to **${member.user.tag}**.`,
68
68
overflow ? `\n\\⚠️ **Overflow Warning**: **${member.user.tag}**'s wallet just overflowed! You need to transfer some of your credits to your bank!` : '',
69
-
unregistered ? `\n\\⚠️ **Unregistered**: **${member.user,tag}** is unregistered, the bonus credits will not be added.` : ''
69
+
unregistered ? `\n\\⚠️ **Unregistered**: **${member.user.tag}** is unregistered, the bonus credits will not be added.` : ''
70
70
].join('')))
71
71
.catch(()=>message.channel.send(`\`❌ [DATABASE_ERR]:\` Unable to save the document to the database, please try again later!`))
0 commit comments