Skip to content

Commit

Permalink
Version 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maisans-maid committed Sep 23, 2020
1 parent d92ecb5 commit 8559771
Show file tree
Hide file tree
Showing 217 changed files with 9,575 additions and 11,921 deletions.
2 changes: 2 additions & 0 deletions .env_example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
TOKEN=
MONGO=
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.env
node_modules
npm-debug.log
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ 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.
SOFTWARE.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
worker: node index.js
worker: node index.js
72 changes: 36 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<header>
<a href = 'https://discordapp.com/oauth2/authorize?client_id=702074452317307061&scope=bot&permissions=1043721303'>
<img align="right" src="https://files.catbox.moe/lha6ok.png" height="400">
</a>
<header>
<a href = 'https://discordapp.com/oauth2/authorize?client_id=702074452317307061&scope=bot&permissions=1043721303'>
<img align="right" src="https://files.catbox.moe/lha6ok.png" height="400">
</a>

<h1> Mai <a href = 'https://discordapp.com/oauth2/authorize?client_id=702074452317307061&scope=bot&permissions=1043721303'>
<img src="https://files.catbox.moe/lha6ok.png" height="25">
<img src="https://files.catbox.moe/lha6ok.png" height="25">
</a></h1>

#### A simple, multi-functional Discord bot by best girl written in discord.js 12.0.2 - Focuses more in anime..
Expand All @@ -30,7 +30,7 @@ Name | Description
***
## Command list
<p>
<img src="https://danbooru.donmai.us/data/__sakurajima_mai_seishun_buta_yarou_drawn_by_oryou__b2e7634047942a5a367dde6b5ed18622.png" height="500" title="Best Girl" align="left">
<img src="https://danbooru.donmai.us/data/__sakurajima_mai_seishun_buta_yarou_drawn_by_oryou__b2e7634047942a5a367dde6b5ed18622.png" height="500" title="Best Girl" align="left">
</p>

### Action
Expand All @@ -45,7 +45,7 @@ Name | Description

###### [Back to Contents](#Contents)
<p>
<img src = "https://danbooru.donmai.us/data/__sakurajima_mai_seishun_buta_yarou_drawn_by_envyvanity__9754996d5fa61aa824a555c751a76a87.png" height="500" align="right">
<img src = "https://danbooru.donmai.us/data/__sakurajima_mai_seishun_buta_yarou_drawn_by_envyvanity__9754996d5fa61aa824a555c751a76a87.png" height="500" align="right">
</p>

### Anime
Expand All @@ -61,7 +61,7 @@ Name | Description

###### [Back to Contents](#Contents)
<p>
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_huijin_zhi_ling__sample-355e85ddea98b2e14dda4d711cc1bd03.jpg" height="500" align="left">
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_huijin_zhi_ling__sample-355e85ddea98b2e14dda4d711cc1bd03.jpg" height="500" align="left">
</p>

### Bot
Expand All @@ -72,7 +72,7 @@ Name | Description

###### [Back to Contents](#Contents)
<p>
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_tousang__sample-40425a146441efacd1a2a2ace669d21c.jpg" height="500" align="right">
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_tousang__sample-40425a146441efacd1a2a2ace669d21c.jpg" height="500" align="right">
</p>

### Core
Expand All @@ -87,7 +87,7 @@ Name | Description

###### [Back to Contents](#Contents)
<p>
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_hizuki_higure__sample-1bf3c0cd9d9ec41fd6ea1d6220148a4a.jpg" height="500" align="left">
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_hizuki_higure__sample-1bf3c0cd9d9ec41fd6ea1d6220148a4a.jpg" height="500" align="left">
</p>

### Fun
Expand All @@ -109,7 +109,7 @@ Name | Description

###### [Back to Contents](#Contents)
<p>
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_daye_bie_qia_lian__sample-ccc7906a0edf45a51b2e2272b4d07910.jpg" height="500" align="right">
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_daye_bie_qia_lian__sample-ccc7906a0edf45a51b2e2272b4d07910.jpg" height="500" align="right">
</p>

### Moderation
Expand All @@ -124,7 +124,7 @@ Name | Description

###### [Back to Contents](#Contents)
<p>
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_moorina__sample-0da0faf5f26ef2dec91601b72e9eb5a8.jpg" height="500" align="left">
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_moorina__sample-0da0faf5f26ef2dec91601b72e9eb5a8.jpg" height="500" align="left">
</p>

### Music <br>
Expand All @@ -139,7 +139,7 @@ Name | Description

###### [Back to Contents](#Contents)
<p>
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_ale_nqki__sample-ae1a510d3c4360c062f607c4153de0fc.jpg" height="500" align="right">
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_ale_nqki__sample-ae1a510d3c4360c062f607c4153de0fc.jpg" height="500" align="right">
</p>

### Owner
Expand All @@ -153,34 +153,34 @@ Name | Description

### Setup
* `m!anischedule [subcommand]` Set up anime scheduling in your server.
* `m!anischedule add [MAL / AniList Link]` Adds new anime to watch new episodes of.
* `m!anischedule channel` Send the currently selected anime announcement channel.
* `m!anischedule clean` Purge completed shows from the channel's watch list.
* `m!anischedule help` Print out all available sub-commands with a short description.
* `m!anischedule list` Display all anime being watched that are still airing.
* `m!anischedule next` Display the next anime to air according to your list.
* `m!anischedule remove [MAL / AniList Link]` Removes an anime from the list.
* `m!anischedule setchannel` Set the channel for anime airdate announcements.
* `m!anischedule add [MAL / AniList Link]` Adds new anime to watch new episodes of.
* `m!anischedule channel` Send the currently selected anime announcement channel.
* `m!anischedule clean` Purge completed shows from the channel's watch list.
* `m!anischedule help` Print out all available sub-commands with a short description.
* `m!anischedule list` Display all anime being watched that are still airing.
* `m!anischedule next` Display the next anime to air according to your list.
* `m!anischedule remove [MAL / AniList Link]` Removes an anime from the list.
* `m!anischedule setchannel` Set the channel for anime airdate announcements.
* `m!automsg [subcommand]` Set up the auto messages for this server.
* `m!automsg help` Print out all available sub-commands with a short description.
* `m!automsg goodbye` Toggle goodbye messages on this server.
* `m!automsg goodbyemsg` Set the goodbye message being sent by the bot.
* `m!automsg welcome ` Toggle welcome messages on this server.
* `m!automsg welcomemsg` Set the welcome message being sent by the bot.
* `m!pointsystem [subcommands]` Set up the point system for this server.
* `m!pointsystem economytoggle` Toggle economy system on/off for this server.
* `m!automsg help` Print out all available sub-commands with a short description.
* `m!automsg goodbye` Toggle goodbye messages on this server.
* `m!automsg goodbyemsg` Set the goodbye message being sent by the bot.
* `m!automsg welcome ` Toggle welcome messages on this server.
* `m!automsg welcomemsg` Set the welcome message being sent by the bot.
* `m!pointsystem [subcommands]` Set up the point system for this server.
* `m!pointsystem economytoggle` Toggle economy system on/off for this server.
* `m!automsg [subcommand]` Set up the point system for this server
* `m!pointsystem excemptedchannels` Display which channels have their xp disabled.
* `m!pointsystem help` Print out all available sub-commands with a short description.
* `m!pointsystem xpallow [channel]` Allow xp system on mentioned channel(s), if disabled.
* `m!pointsystem xpexcempt [channel]` Excempt xp system on mentioned channel(s), if enabled.
* `m!pointsystem xptoggle` Toggle the xp system on/off for this server
* `m!pointsystem xpreset` Reset the xp of all members in the server (Limited to Server Owner)
* `m!pointsystem economyreset` Reset the economy of all members in the server (Limited to Server Owner)
* `m!pointsystem excemptedchannels` Display which channels have their xp disabled.
* `m!pointsystem help` Print out all available sub-commands with a short description.
* `m!pointsystem xpallow [channel]` Allow xp system on mentioned channel(s), if disabled.
* `m!pointsystem xpexcempt [channel]` Excempt xp system on mentioned channel(s), if enabled.
* `m!pointsystem xptoggle` Toggle the xp system on/off for this server
* `m!pointsystem xpreset` Reset the xp of all members in the server (Limited to Server Owner)
* `m!pointsystem economyreset` Reset the economy of all members in the server (Limited to Server Owner)

###### [Back to Contents](#Contents)
<p>
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_otono_fei__sample-0e8aff25cb5033d101f097f2dbf36ef1.jpg" height="500" align="right">
<img src="https://danbooru.donmai.us/data/sample/__sakurajima_mai_seishun_buta_yarou_drawn_by_otono_fei__sample-0e8aff25cb5033d101f097f2dbf36ef1.jpg" height="500" align="right">
</p>

### Utility
Expand Down
28 changes: 28 additions & 0 deletions assets/graphql/NextAirDateWithQuery.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
query ($search: String, $status: MediaStatus) {
Media(type: ANIME, status: $status, search: $search) {
title {
romaji
english
native
}
episodes
nextAiringEpisode {
episode
timeUntilAiring
}
id
siteUrl
coverImage {
large
color
}
studios(isMain: true) {
edges {
isMain
node {
name
}
}
}
}
}
30 changes: 30 additions & 0 deletions assets/graphql/NextAirDateWithoutQuery.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
Page {
media(type: ANIME, status: RELEASING, sort: POPULARITY_DESC) {
title {
romaji
english
native
}
episodes
nextAiringEpisode {
episode
timeUntilAiring
}
id
siteUrl
coverImage {
large
color
}
studios(isMain: true) {
edges {
isMain
node {
name
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ query($page: Int = 0, $amount: Int = 50, $watched: [Int!]!, $nextDay: Int!) {
siteUrl
format
duration
episodes
title {
romaji
}
Expand Down
34 changes: 34 additions & 0 deletions assets/graphql/Seiyuu.graphql
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
query ($search: String) {
Staff(search: $search, sort: SEARCH_MATCH) {
id
name {
full
native
}
language
image {
large
}
description
siteUrl
characters(page: 1, perPage: 20, sort: ROLE) {
nodes {
id
name {
full
native
}
siteUrl
}
}
staffMedia(page: 1, perPage: 20, sort: POPULARITY) {
nodes {
title {
romaji
english
}
siteUrl
}
}
}
}
File renamed without changes.
1 change: 1 addition & 0 deletions assets/json/anime.json

Large diffs are not rendered by default.

Loading

0 comments on commit 8559771

Please sign in to comment.