people playing: 51, servers online: 17, games played: 144,245,686 Top Player: Gentleman

  Toribash Community » Toribash » Mods » Third party
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Feb 21, 2019   #1
-sir
Toribash Dev
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; 2 Weeks Ago at 04:17 PM..
sir is offline   Reply With Quote
Old Feb 21, 2019   #2
HASSAN
 
SPECTRUM Belt
Join Date: May 2014
Posts: 532
Clan: Evolution



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*
HASSAN is offline   Reply With Quote
Old Feb 21, 2019   #3
Life
MOHAMMEDABDO
 
10th Dan Black Belt
Join Date: Oct 2012
Posts: 11,022
Clan: Pyramid



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

TORIBASH IS GAY AND I CAN PROVE IT
Life is offline   Reply With Quote
Old Feb 21, 2019   #4
жrawrneru
traps.
 
10th Dan Black Belt
Join Date: Dec 2013
Posts: 1,066
Clan: Liquor



I smell Spark discord meltdown 2.0

~ BLACKPINK ~
rawrneru is offline   Reply With Quote
Old Feb 21, 2019   #5
§Donut
IGNORE THE GLOW
 
4th Dan Black Belt
Join Date: Apr 1997
Posts: 697,106
Clan: Liquor



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!
Pickled is alright
And fresh is quite a delight
Creati0n-approved

Last edited by Donut; Feb 21, 2019 at 01:28 PM.. Reason: <24 hour edit/bump
Donut is offline   Reply With Quote
Old Feb 21, 2019   #6
Woeb
Member
 
3rd Dan Black Belt
Join Date: Mar 2017
Posts: 423
Clan: win



can i jack the source code from ya?
Contrary to popular belief, Chirs' signature is incorrect. I have no association with people of Jewish origin.
Woeb is offline   Reply With Quote
Old Feb 21, 2019   #7
HASSAN
 
SPECTRUM Belt
Join Date: May 2014
Posts: 532
Clan: Evolution



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*
HASSAN is offline   Reply With Quote
Old Feb 21, 2019   #8
Life
MOHAMMEDABDO
 
10th Dan Black Belt
Join Date: Oct 2012
Posts: 11,022
Clan: Pyramid



It's not even a mitch's bot edit...

TORIBASH IS GAY AND I CAN PROVE IT
Life is offline   Reply With Quote
Old Feb 22, 2019   #9
§Donut
IGNORE THE GLOW
 
4th Dan Black Belt
Join Date: Apr 1997
Posts: 697,106
Clan: Liquor



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
Donut is offline   Reply With Quote
Old Feb 24, 2019   #10
Wizard
 
10th Dan Black Belt
Join Date: Jan 2012
Posts: 3,342
Clan: Adventure



If anything, Mitch stole ideas from Surge

Anyways, good to see an official bot for the server
[a]dventure

Wizard is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:37 AM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game