Giter Site home page Giter Site logo

mantaro / mantarobot Goto Github PK

View Code? Open in Web Editor NEW
387.0 34.0 179.0 39.98 MB

Multipurpose Discord bot made in Java using JDA.

Home Page: https://mantaro.site/

License: GNU General Public License v3.0

Java 99.92% Lua 0.08%
jda discord-bot discord jda-bot mantaro bot

mantarobot's Introduction

Mantaro

Complete and configurable currency and games multipurpose Discord bot

Using the Official Mantaro Bot

Just one click and you can add Mantaro to your own server and enjoy its full feature set!

You can see more information about the bot itself by reading the summary on here. This is the file we use to publish our bots on bot lists, too. You're welcome to use it as a guide for your own. Our webpage is hosted in Github Pages and outlines most features of the bot, alongside some useful links.

Building your own Mantaro

⚠ Read before attempting

The owners of Mantaro do not recommend compiling Mantaro as it is not documented, and most builds you make from pulling the main branch will be extremely unstable and (definitely) untested, probably including unfinished features. There's no stable branch, all the features are immediately added to upstream. Yes, really.
You will however sometimes see a legacy branch, a branch we create before publishing larger update containing working code, it is highly recommended basing your building process from the legacy branch, as the master branch will very likely contain broken and non-working code, at least in a case where a legacy branch exist. The current legacy branch contains the pre-mongodb migration update (7.0.0) code.

We will not provide any support whatsoever in selfhosting or building the bot by yourself. The reason for this is not only that the builds in here are highly unstable and untested, and also the fact that there are very few people (two) who could actually help with questions regarding this, most of which are busy and not available to answer said questions. Most of the build process is pretty straightforward and outlined below, though.

Building the Bot

Prerequisite:

You will need the following to utilize all of Mantaro's features when building your own instance (items marked with a star are optional):

  • MongoDB, at least version 6
  • Java Development Kit, version 16 (not lower!)
  • Redis, at least version 6
  • Wolke's Weeb API (For most of the action commands)*

We will not provide any support whatsoever in obtaining any of the above.

Note: The bot does not necessarily need the Weeb API key to function, but some functionality might be limited by the lack of them (no action commands). Due to the closed nature of that API, we encourage you to submit a patch that would allow custom images to be used on self-hosted instances if you'd like (ex. by pushing your own -local- API server), but keep them in line with the rest of the code.

Editing Code:

Mantaro isn't a modular bot (sadly), but removing features is fairly easy. You can just remove the respective command or the Module file on the commands directory and everything should still work. The exception are some Modules that are required by other Modules. Make sure you pay close attention to the license as you will be required to disclose your source as well as state any changes made.

Large Language Model (LLM) or AI Training

DO NOT use our code to train any form of Artificial Intelligence, LLM or anything of the like. Our licence technically covers that (if not used for free and open software purposes), however we would like to be absolutely sure you understand that we are not ok with this.

Steps for building:

Please do note that you will not receive any help whatsoever while trying to make your own Mantaro build (see above).

  1. Make sure you have the prerequisites installed and running.
  2. Clone this repository (you can also fork this repo and clone your fork).
  3. Open a terminal (cmd.exe or any linux/macOS terminal) in the folder where you cloned this on.
  4. Run gradlew shadowJar
  5. Grab the jar from build/libs
  6. Install mongodb and redis
  7. Run it, wait a little for the bot to generate a file called config.json
  8. Prepare yourself to start filling in some config values. You don't need to fill all values, though. The token and the user id are necessary to start up, you wanna set the owner IDs aswell to be able to use owner commands. Values you need to fill: token clientId, values you need to change: "bucketFactor" : 1 "isSelfHost" : true.
  9. In config.json, you might want set the value needApi to false, or clone and run the API)

Extra runtime options:

This are java arguments that Mantaro parses outside of config.json at startup and that can be dynamically adjusted using a script, a systemd service or similar:

  • -Dmantaro.node-number=x - Specify the number of this node (important if you use more than once instance)
  • -Dmantaro.shard-count=x - Specify the amount of shards Mantaro will be starting up. (for all nodes, see below for subsets)
  • -Dmantaro.from-shard=x - Start Shard Manager from shard X. (inclusive)
  • -Dmantaro.to-shard=y- Start Shard Manager up to shard Y. (exclusive)
  • -Dmantaro.verbose - Log all the things.
  • -Dmantaro.verbose_shard_logs - Show all shard status changes.
  • -Dmantaro.debug - Start Mantaro with two shards and some extra logging, regardless of the settings above.
  • -Dmantaro.debug_logs - Use debug logs.
  • -Dmantaro.trace_logs - Spam your logs.
  • -Dmantaro.log_db_access - Log all db access. (spams your logs aswell)
  • -Dmantaro.disable-non-allocating-buffer - Disable LP's non-allocating buffer.

The above options can also be used as environment variables by removing -D, and replacing . with _, for example, -Dmantaro.node-number=x becomes environment variable MANTARO_NODE_NUMBER=x

Migrating data from RethinkDB to MongoDB

If you have a self-hosted Mantaro instance and want to use the master branch, run this program with both MongoDB and RethinkDB on. You can either build it or run the main function on an IDE.

Make sure to set the MIGRATOR_MONGO_URI, MIGRATOR_RETHINK_HOST, MIGRATOR_RETHINK_USER and MIGRATOR_RETHINK_PW (last two can be omitted to use defaults) environment variables. It should do the job by itself and let you know when it's done, assuming you set the database hosts/uri correctly.

Tools and Contributors

Tools Mantaro uses

Important Contributors

Many thanks to

  • @natanbc - A lot of backend improvements and developing. Active.
  • @haxiz - Responsible for maintaining user-facing documentation.
  • @mrlar - Wrote most of the user-facing documentation (no longer maintaining it). Responsible for maintaining/running the Support-Server.
  • @adriantodt - Backend development on the early stages of the bot. Was crucial to the development and thanks to him this bot is what it is now. Inactive.

And a lot more people. Check the Contributors tab!

Want to contribute? Join our server and ask in the support channel for what we need help with (you may need to wait with receiving an answer.).
Alternatively send us a Pull Request with what you see fit/think we need. However, this process may end in a rejected PR more easily.

Thanks to Crowdin for providing our project with a free OSS license to continue our localization efforts.

Legal Stuff

Using our code

Give credit where credit is due. If you wish to use our code in a project, please credit us, and take your time to read our full license. We don't mind you using Mantaro code, as it is open-source for a reason, as long as you don't blatantly copy it or refrain from crediting us. Take special care of following the license aswell.

License

Copyright (C) 2016 Kodehawa

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/

The full license can be found here.

mantarobot's People

Contributors

arraying avatar chebureki avatar dependabot-preview[bot] avatar dependabot[bot] avatar devoxin avatar edisonlee55 avatar haxiz avatar kewdz avatar kodehawa avatar lerisen avatar loreleibr avatar milkyy-wayy avatar mirteiwaz avatar mrlar avatar natanbc avatar netux avatar nhalrath avatar pauleks avatar rainestormee avatar schnapster avatar shadorc avatar sirywell avatar smehta11 avatar stayberri avatar thebaba98 avatar thomasdbock avatar tylergibbs2 avatar vrontis avatar yuvira avatar zeylahellyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mantarobot's Issues

Lock a Role from using the bot

Hey! I would like to ask if someone could tell me how I can lock or disable a role in my server to use the bot and use the bot for music or something like that !

How does the marry command work?

Got this bot a week or two ago and me and my gf were messing around then found the marry command
But how do you actually accept the proposal?
It says please answer with Yes or No but it doesn't seem to work?

My badge is not registering :(

For whatever reason, when achieving the Shopper badge it will not register on my profile and will not show up when I use ~>badges. I bought 5000 shoes and have had them for 2 days but it will not appear, I have 3 badges currently, Lucky, Claimer, and Gamer. Maybe there is a max on how many badges I can have but if there is I was not aware of it. When getting my other badges they appeared in the hour so I'm not sure whats going on with it.

PS. I have never used this website before so I'm not sure if this is even the right place for this πŸ˜†

Edit: Someone told me to do ~>inventory and then do ~>badges and it worked, for whatever reason it will not appear anymore but thanks dude

items in inventory supposed to do something?

Idk where to ask this question so I hope someone could direct me to proper place to ask or give me an answer.

What do we do with the items in our inventory for the currency commands? Do any of them do anything?
Besides the crate box / key & brom's pickaxe. What do the other items do?

I don't see a ~>use [item name] ..

Multiple replies

How do I make multiple replies in custom commands work with :img? Because it seems to only work with the first reply.
Also how do I make the bot mention someone I mentioned in a custom command? For example: ~>highfive @user

$(event.author.mention) high fived @mentioneduser

Prefix Change?

Is there any way we can have a command that allows us to change the prefix for the commands?

Bot responds to channels without permissions

I have removed all permissions for the bots group the in all but two channels(one of which was originally #general) yet it still responds to commands in those channels for which it does not have read permission, or any other permission. The bot does not have administrator permissions in it's own group.

Database Rewrite

Database uses too much reading because we filter stuff with regex.

This issue will track:

  • Rewrite of how we handle objects (POJOs)
  • Use snowflakes as new IDs
  • Create a MantaroDataPorter to fix the keys

Birthday announcements are not working

Hi there - I believe I've set this up correctly, but birthday announcements are not working. Here are the commands I issued and Mantaro's responses:

KarnaughAtlas - Yesterday at 9:52 AM
~>opts birthday enable announcements BirthdayMonarch
MantaroBOT - Yesterday at 9:52 AM
πŸ“£ Birthday logging enabled on this server with parameters -> Channel: #announcements (361357225379495946) and role: BirthdayMonarch (393082903820632082)

->birthday 21/12/2017
MantaroBOT - Yesterday at 10:25 AM
βœ… Added birthdate.
KarnaughAtlas - Yesterday at 10:26 AM
->birthday month
MantaroBOT - Yesterday at 10:26 AM
βœ–οΈ There are no birthdays for this month here :(

I ran those commands yesterday and was expecting to see an announcement about my birthday, and to have the birthday role assigned to me, but neither happened.

Let me know if you need any further information from me!

NoClassDefFoundError lombok

I am trying to set up the bot (self-host) but its throwing an error

Exception in thread "main" java.lang.NoClassDefFoundError: lombok/Lombok
at net.kodehawa.mantarobot.utils.data.GsonDataManager.(GsonDataManager.java:36)
at net.kodehawa.mantarobot.data.MantaroData.config(MantaroData.java:41)
at net.kodehawa.mantarobot.services.Carbonitex.(Carbonitex.java:27)
at net.kodehawa.mantarobot.MantaroBot.(MantaroBot.java:90)
at net.kodehawa.mantarobot.MantaroBot.main(MantaroBot.java:204)
Caused by: java.lang.ClassNotFoundException: lombok.Lombok
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Game command glitched?

There is a glitch where the bot thinks it is in a game, but not only did the "end" not work, but it's been almost a day and still doesn't timeout. Is there a way to reset it so we can play our games again? I tried kicking her and re-adding her, that didn't work either...

Hacktoberfest - Mantaro

We've opened pull requests to Mantaro for hacktoberfest.

What do we need:

  • Documentation in core. Needs to be fairly complete.

  • Place a song on x position of the queue.

  • Use of percentage in gamble (for example ~>gamble 30%) Done

  • Implementation of the ~>warn command.

  • Re-organization and refactoring of the README file (probably also needs a new example)

What you could do too

  • Clean up code
  • Fix spelling mistakes.
  • Pull request/Issue templates

Also, pull Requests that are obviously split up to farm will not be accepted and marked as invalid (For example changing docs of 2 classes in 2 Pull Requests is not wanted)

Happy farming \ o /

Command doesnt work

in tutorial it shows "~>opts autoroles add " i do that, and bot says "i didnt find a role with that name" even doe im trying to create role.

Loot time cooldown increasing

Not so much for me, but the cooldown on the loot command is continuously going up for someone on my server and there's no clear reason why. At this point in time, the cooldown has reached almost eight hours. This has gone up from the timer stating they need to wait six hours, since I was first made aware of the issue.
screenshot_14

Every so often, whenever the person checks to see if the time is going down, it scales up further. I've already advised them to try waiting until the seven-hour timer is cleared, however I still have no idea what's even wrong with this. I've also already tried removing Mantaro and re-adding the bot, however that did not resolve the issue.

BUG

for one of the badges it gives you a badge for having 5000 of any item. i have 5000 necklaces but have not gotten the badges there's either a problem or something wrong that I'm doing. please look into this

game command is glitched

so, basically, this is almost the same problem that's stated in issues #19 and #23. the game command is glitched and it won't let me answer or end the current game, nor will it timeout. i've tried using ~>opts lobby reset a couple of times, but it resets and glitches again shortly after. any ideas?

p.s. here's a screenshot if you need a visual. thank you!

Guessing game is stuck.

Basically this - user started a pokemon guessing game, and at one point Mantaro stopped taking his answers. Now no one can start a new game from the bot - I haven't tried kicking as I don't want to have to rework permissions on it. Any idea how to force terminate a game? I didn't see it in the command list.

no shopper badge

image
it says here that to get the shopper badge you need 5000 of any given item at one time.
image
so why don't i have the badge???

Test

Testing auto issues again

The Married Command is Bugged

If you're not "married" and you ask someone who is married, the person receiving the question will get the option to say yes or no. However, if you are married and you ask someone else, regardless if they are married or not, Mantaro will say that the user is already married.

did i do something wrong or is the use slot coin not working

MantaroBOT - Today at 12:49 AM

Slots Command
Rolls the slot machine. Requires a default of 50 coins to roll.
Permission required
User
Considerations
You can gain a maximum of put credits * 1.76 coins from it.
You can use the -useticket argument to use a slot ticket (slightly bigger chance)
Usage
~>slots - Default one, 50 coins.
~>slots - Puts x credits on the slot machine. Max of 50000.
~>slots -usecoin - Rolls the slot machine with one slot coin.

Requested by Kirin
Kirin - Today at 12:49 AM
~>slots -usecoin
MantaroBOT - Today at 12:49 AM
βœ–οΈ That's not a number!

I think i found a bug or coding error.

The price of buying an item (for some items) is different than the price that is showing in the market .
->market
MantaroBOT - Yesterday at 11:43 PM

πŸ›’ Mantaro Market
Items
01.- 🎧 Headphones
02.- πŸ”¨ Ban Hammer
03.- πŸ‘’ Kick Boot
04.- πŸ’Ύ Floppy Disk
05.- πŸ“ My Maths
06.- πŸ“ Ping Racket
07.- 🎲 Loaded Die
08.- 🎡 Forgotten Music
09.- ✏️ Pencil
10.- πŸ’° Moneybag
11.- ⛏️ Brom's Pickaxe
12.- :milk: Milk
13.- 🍾 Alcohol
14.- πŸ“° Lewd Magazine
15.- πŸ’ Marriage Ring
16.- πŸ’Œ Love Letter
17.- πŸ”‘ Crate Key
18.- πŸ‘• Clothes
19.- πŸ’Ž Diamond
20.- πŸ‘— Wedding Dress
21.- πŸ“Ώ Necklace
22.- πŸ€΅β€β™‚οΈ Tuxedo
23.- πŸ‘Ÿ Shoes
24.- 🌹 Rose
25.- 🍫 Chocolate
26.- πŸͺ Cookie
27.- 🎟️ Slot ticket
28.- 🏠 House
Value (Buy/Sell)
πŸ’² N/A, $3
πŸ’² N/A, $12
πŸ’² N/A, $9
πŸ’² N/A, $9
πŸ’² N/A, $9
πŸ’² N/A, $13
πŸ’² N/A, $57
πŸ’² N/A, $11
πŸ’² N/A, $11
πŸ’² $79, $64
πŸ’² $59, $48
πŸ’² $50, $41
πŸ’² $45, $36
πŸ’² $44, $36
πŸ’² $59, $48
πŸ’² N/A, $48
πŸ’² $67, $54
πŸ’² $14, $11
πŸ’² $377, $308
πŸ’² $75, $62
πŸ’² $18, $15
πŸ’² $26, $21
πŸ’² $8, $7
πŸ’² $62, $51
πŸ’² $45, $36
πŸ’² $53, $44
πŸ’² $71, $58
πŸ’² $5500, $4500
Requested by RayRay
RayRay - Yesterday at 11:43 PM
->profile
MantaroBOT - Yesterday at 11:43 PM

πŸ’ RayRay's Profile
Gamer πŸ•ΉοΈ
No single thing is perfect by itself. That’s why we’re born to attract other things to make up for what we lack. I think we start walking in the right direction only after we start getting our counterparts beside us.
πŸ’΅ Credits
$ 1236
⚑ Level
11 (Experience: 11204)
:military_medal: Reputation
20
πŸ‘ Inventory
πŸ’° x 1, ⛏️ x 2, πŸ’ x 2, πŸ’Œ x 1, πŸ€΅β€β™‚οΈ x 1, :milk: x 1, πŸ“° x 6, πŸ“Ώ x 1, πŸ”‘ x 4, πŸ‘— x 2, πŸ’Ύ x 1113, πŸ‘• x 1601, 🏠 x 1, 🌹 x 2, 🎟️ x 8, 🎧 x 1, 🎲 x 1, 🍫 x 1, πŸͺ x 3, 🍾 x 1, ✏️ x 26, πŸ‘Ÿ x 5000
πŸŽ‰ Birthday
18-02
❀️ Married with
Kitsune Black rock shooter#7217
Badges
πŸ•ΉοΈ πŸ”§

User's timezone: No timezone set. | Requested by RayRay
RayRay - Yesterday at 11:43 PM
->market buy 1 diamond
MantaroBOT - Yesterday at 11:43 PM
πŸ‘Œ Bought 1 πŸ’Ž successfully. You now have 893 credits.
RayRay - Yesterday at 11:43 PM
->market sell 1 diamond
MantaroBOT - Yesterday at 11:43 PM
βœ… You sold 1 Diamond and gained 309 credits!

i had 1236. 1236 - 893 = 343. so i brought the diamond for 343 instead of what it said on the list and i sold for 309 which is also different to the list.
image
image

Error??

I bought a crate key, but Manataro keeps saying I don't have a crate key when I try opening a crate. Surprisingly other members can't see the key as well in my inventory, unless they're just messing with me

Trivia Lockout

I've been doing trivia games with Discord pals on weekends, but yesterday, the bot seemed to have locked up the trivia command, and is showing that a game is currently in progress, despite it being 8 days (as of last night) since the last game was started, and completed successfully. Any way to fix manually, or is shard info required?

Test

Testing auto issues

Second input for trivia always marked incorrect

Mantaro usually says you're correct if you input the answer in the first time, but if you guess the answer a second time, Mantaro always says it's wrong.

example:
image

This happens every single time you answer a second time.

Mantaro is in VC channel but music isn't playing.

I'd like to request for a restart of our shard. Other than the title, I'm not really sure what's wrong.
~>np shows the current track playing properly, and all other commands are functioning just fine.

~>info


> --------- Technical Information --------- 
> 
> Commands: 94
> Bot Version: 4.4.2_DEV-30062017
> JDA Version: 3.1.1_DEV
> Lavaplayer Version: 1.2.42
> API Responses: 48422156
> CPU Usage: 34.318766066838045%
> CPU Cores: 8
> Shard Info: Shard [12 / 34]
> API Status: ONLINE
> API Ping: 0ms
> 

>  --------- Mantaro Information --------- 
> 
> Guilds: 33610
> Users: 727266
> Shards: 34 (Current: 13)
> Threads: 2302
> Executed Commands: 161415
> Logs: 4920
> Memory: 9654.0MB / 16299.0MB
> Music Connections: 408
> Queue Size: 9823
> 
>  --------- RethinkDB Information --------- 
> 
> RethinkDB Version: rethinkdb 2.3.5~0xenial (GCC 5.3.1)
> Time Connected: 113:37:13
> Cache Size: 11291.61MB
> Hostname: ubuntu

~>shardinfo


> Shard [0 / 34]  | STATUS: CONNECTED | U: 31615 | G: 1010 | L: 213 ms  | MC: 8 
> Shard [1 / 34]  | STATUS: CONNECTED | U: 22729 | G: 1027 | L: 233 ms  | MC: 7 
> Shard [2 / 34]  | STATUS: CONNECTED | U: 25389 | G: 989  | L: 30 ms   | MC: 12
> Shard [3 / 34]  | STATUS: CONNECTED | U: 28273 | G: 1006 | L: 45 ms   | MC: 14
> Shard [4 / 34]  | STATUS: CONNECTED | U: 30461 | G: 978  | L: 92 ms   | MC: 11
> Shard [5 / 34]  | STATUS: CONNECTED | U: 22087 | G: 1029 | L: 666 ms  | MC: 11
> Shard [6 / 34]  | STATUS: CONNECTED | U: 30292 | G: 986  | L: 66 ms   | MC: 12
> Shard [7 / 34]  | STATUS: CONNECTED | U: 25632 | G: 989  | L: 345 ms  | MC: 16
> Shard [8 / 34]  | STATUS: CONNECTED | U: 30740 | G: 971  | L: 62 ms   | MC: 11
> Shard [9 / 34]  | STATUS: CONNECTED | U: 31018 | G: 994  | L: 60 ms   | MC: 17
> Shard [10 / 34] | STATUS: CONNECTED | U: 21648 | G: 987  | L: 31 ms   | MC: 10
> Shard [11 / 34] | STATUS: CONNECTED | U: 28479 | G: 977  | L: 315 ms  | MC: 15
> Shard [12 / 34] | STATUS: CONNECTED | U: 20928 | G: 961  | L: 67 ms   | MC: 19 <- CURRENT
> Shard [13 / 34] | STATUS: CONNECTED | U: 41943 | G: 1006 | L: 45 ms   | MC: 10
> Shard [14 / 34] | STATUS: CONNECTED | U: 22453 | G: 997  | L: 149 ms  | MC: 16
> Shard [15 / 34] | STATUS: CONNECTED | U: 25273 | G: 979  | L: 21 ms   | MC: 14
> Shard [16 / 34] | STATUS: CONNECTED | U: 29004 | G: 1016 | L: 114 ms  | MC: 6 
> Shard [17 / 34] | STATUS: CONNECTED | U: 22860 | G: 964  | L: 148 ms  | MC: 6 
> Shard [18 / 34] | STATUS: CONNECTED | U: 29700 | G: 1001 | L: 5 ms    | MC: 12
> Shard [19 / 34] | STATUS: CONNECTED | U: 26026 | G: 959  | L: 351 ms  | MC: 7 
> Shard [20 / 34] | STATUS: CONNECTED | U: 36173 | G: 964  | L: 118 ms  | MC: 16
> Shard [21 / 34] | STATUS: CONNECTED | U: 24503 | G: 982  | L: 10 ms   | MC: 14
> Shard [22 / 34] | STATUS: CONNECTED | U: 21928 | G: 1011 | L: 100 ms  | MC: 15
> Shard [23 / 34] | STATUS: CONNECTED | U: 25350 | G: 997  | L: 32 ms   | MC: 18
> Shard [24 / 34] | STATUS: CONNECTED | U: 38310 | G: 1032 | L: 24 ms   | MC: 9 
> Shard [25 / 34] | STATUS: CONNECTED | U: 20119 | G: 955  | L: 187 ms  | MC: 8 
> Shard [26 / 34] | STATUS: CONNECTED | U: 25785 | G: 929  | L: 23 ms   | MC: 9 
> Shard [27 / 34] | STATUS: CONNECTED | U: 30679 | G: 1001 | L: 174 ms  | MC: 13
> Shard [28 / 34] | STATUS: CONNECTED | U: 27901 | G: 973  | L: 25 ms   | MC: 12
> Shard [29 / 34] | STATUS: CONNECTED | U: 21566 | G: 952  | L: 100 ms  | MC: 10
> Shard [30 / 34] | STATUS: CONNECTED | U: 23829 | G: 1066 | L: 9 ms    | MC: 11
> Shard [31 / 34] | STATUS: CONNECTED | U: 33943 | G: 972  | L: 1 ms    | MC: 15
> Shard [32 / 34] | STATUS: CONNECTED | U: 36734 | G: 993  | L: 111 ms  | MC: 13
> Shard [33 / 34] | STATUS: CONNECTED | U: 28449 | G: 957  | L: 200 ms  | MC: 11

MantaroBot Database

Which database does mantaro use?
Which character set does the mantaro database use utf8mb4?

I set up the database and this error continues to return in the logs
image

Mention modifiers

Hey, you could add mention modifiers
Example:
->custom new check @if{$(event.message.raw);equals;$(event.mention);User exists;User does not exist.}
In this example, it would be required to mention a real user If you want the command returns "User exists".
Adding this modifiers,we could create commands where It would be necessary to mention someone, not just write a random word or name.
You could make something like $(event.author),with status,game,avatar,id,discriminator,name and username.

Music speed

For some reason, the bot is playing music at, like, 3x speed.
It's messing with our gameplay.

Market buying noworking

Whenever I wish to buy something, I was never allowed. Even when putting the emoji.
Here's a screencap. I do have the credits to buy it.

screenshot_10

.-.

Is there a way to make a custom command that i created only available to one group?

Dosent play music.

Sometimes Mantaro dosent even play music.
Or sometimes when it does it plays very blur, like, I cant even hear it. At that moment, I checked the ping. The ping was 2994 ms >.<

Playing streams failed

Playing mp3 streams failed because it's continuous playing, but the bot allow only <20min

found a possible bug

to keep it simple. when using the ->love command and the percentage generated is 45% it reads "Perfect match!" which should be the line for 100% if i'm not mistaken. would be a weird thing to jump from 'try again later' lines to perfect and then to just "Good enough." only to start gradually increasing after that

WHY

i was in the middle of the que and i wanted to add another song, i typed in ~>play die young it didnt work. I thought it was ok because sometimes u need to type it in twice i did it didnt work then i decided to try ->play die young because sometimes u need to use one or the other IT STILL DIDNT WORK

Badges problem

Hey, there is not Γ  long time ago, i've seen this thing, ans i don't think is it's really normal, m'y friend have sais me that on her computer it's thΓ© samedi situation, she has 6 badges, but only 5 are on her profile. I hope you'll can help. There are thΓ© screenshots on my phone
screenshot_2017-12-14-20-47-34
screenshot_2017-12-14-20-47-24

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.