Muay Thai Championship Series 2020
Original Post
Toribash Discord Bot (that won't kill your server hooray!)
Hi, a basic Toribash discord bot I made a few weeks ago is now hosted on tb servers and thus would be live 24/7 (or until some smartass decides to ddos the server).

Bot invite link: https://discordapp.com/api/oauth2/au...2624&scope=bot



Currently available commands / features:


  • Toribash user information

    • -info | -information [username]
      Outputs main information about a user (forum profile link, forum avatar, belt and qi, TC balance, join date, last activity, clan). Adds a note if user is banned, is online (either on forums or in-game). If a user is a staff member, embed color would also be colored according to their name color.


    • -tc | -toricredits [username]
      Outputs player's TC balance with a (sometimes memey) comment.


  • Player inventory
    All inventory-related info would be forwarded to you as a Direct Message.

    • -inv | -inventory [username] ?[mode]
      Fetches player's inventory and caches it for 30 seconds for inventory-related commands. If player's inventory is relatively small, it'd also instantly output the contents.
      By default, outputs whole inventory. Supported modes (optional) are:
      • a | act | active - active inventory
      • d | de | deactive - inactive inventory
      • m | mt | market - market inventory


    • -invpg | -invpage | -inventorypage [page]
      Outputs cached inventory's page.


    • -invall
      Outputs all pages of cached inventory, one by one.
      Due to Discord's anti-spam protection, messages would be sent in waves of 5 - so expect some delay on huge inventories.

    • -invinf | -invinfo | -inventoryinfo [id] ?[stackid]
      Outputs cached inventory item's info. Keep in mind that id is item number in the list - not item's inventoryid on forums.
      stackid (optional) is used to view a specific item's info from a set / items stack. Defaults to first item for stacked items, and set item info for sets.


    • -invexp | -invexpand | -inventoryexpand [id]
      Expands stacked items / sets and outputs the contents.



You can also check bot's commands with -help command.



Bot source on GitHub
Any suggestions are welcome, but I'm unlikely to update it super frequently. Expect periodic updates shortly after Toribash game client releases though - I still plan to add clan-related functionality, slightly improve performance and possibly add something else.
Last edited by sir; May 28, 2019 at 04:17 PM.
Someone else made one like this earlier but you banned it for security reasons. Is this the same one?
*Pulls more tail then a special needs child at the petting zoo*
No. This one is totally safe and you don't need to worry about it.

Great job sir, been waiting for a long time for this bot
2003 clan league champion
People fail to understand the main reason mitch's bot was unsafe is because they gave it admin perms to their discord.

This bot doesn't ask for admin perms and therefore cant fck anything up thankfully
-----
I'd suggest adding the ability for it to create a room people can join

Ie:
-jo <roomname>

Bot:
/jo roomname has been made!
Click here to launch!
Last edited by Donut; Feb 21, 2019 at 01:28 PM. Reason: <24 hour edit/bump
Pickled is alright
And fresh is quite a delight
Creati0n-approved
can i jack the source code from ya?
<[Alpha]Diamond> in short: you count pings, you run, you lick boots
I think my post was missunderstood. I never had a problem with the original bot. I just have a problem with people taking the work of others and presenting it as their own or not crediting the original creators.
*Pulls more tail then a special needs child at the petting zoo*
Originally Posted by HASSAN View Post
I think my post was missunderstood. I never had a problem with the original bot. I just have a problem with people taking the work of others and presenting it as their own or not crediting the original creators.

What life said.

Not to mention this has way less features.
Rn at least
Pickled is alright
And fresh is quite a delight
Creati0n-approved