Skip to content

Robit is a RoboDoc's assistant with different sets of AI powers, auto-responses, and media conversion

License

Notifications You must be signed in to change notification settings

TheRoboDoc/Robit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robit

Robit is an AI Discord bot powered by OpenAI's GPT-4. His primary purpose is to be a little assistant within a discord server and to integrate seamlessly with the server. The bot is currently in beta and might break from time to time

Add Robit to your server

You can add Robit by clicking here

Features/Commands

Conversation

You can freely chat with Robit by mentioning him in a message via @ or mention-reply

Click for usage example

RobitChat

Generic Commands

A set of generic commands

Ping

Pings the bot for a response

/ping [optional]times:[integer][default:1][min:1][max:3]

Click for usage example

RobitPing

List Commands

Lists all the commands that the bot has

/commands [optional]visible:[boolean][default:false]

Click for usage example

RobitCommands

Introduction

Bots introduction explains what he is

/intro [optional]visible:[boolean][default:true]

Click for usage example

RobitIntro

Github

Posts a link to this GitHub page

/github

Click for usage example

RobitGithub

Auto response

You can have automatic responses to content in messages

Click for usage example

RobitResponse

Add

Adds an auto-response

/response add name:[string] trigger:[string] response:[string] [optional]visible:[boolean]

Click for usage example

RobitResponseAdd

Remove

Removes an auto-response

/response remove name:[string] [optional]visible:[boolean]

Click for usage example

RobitResponseRemove

Modify

Modifies an auto-response

/response modify name:[string] trigger:[string] response:[string] [optional]visible:[boolean]

Click for usage example

RobitResponseModifiy

List

Lists all auto-responses

/response list [optional]visible:[boolean]

Click for usage example

RobitResponseList

Ignore

Marks the channel to be ignored or not by Robit

/response ignore:[boolean] [optional]visible:[boolean]

Click for usage example

RobitResponseIgnore

Auto react

Works the same way as auto-response, but for automatic reactions. More detailed description will be added in the future

AI

A set of AI-related commands

AI Prompt

A command to prompt Robit's AI module without context and in a longer form

/prompt ai_prompt:[string] [optional]visible:[boolean]

Click for usage example

RobitPrompt

AI Ignore

Makes Robit's AI module ignore the channel depending if ignore is set to True or False

/ai_ignore ignore:[boolean] [optional]visible:[boolean]

Click for usage example

RobitAIIgnore

Random

A set of commands to generate random values

Number Generation

Generates a number between minimal and maximal number

*Maximum value cannot be smaller than the minimal value

/random number maximum_value:[integer][min:0] [optional]minimal_value:[integer][default:0][min:0] [optional]visible:[boolean][default:true]

Click for usage example

RobitRandomNumber

Dice Roll

"Rolls" dice and displays a bunch of values as the result

/random dice dice_type:[enumerable] [optional]amount:[integer][default:1][min:1][max:255] [optional]visible:[boolean][default:true]

Click for usage example

RobitDice

Dice Types

  • D2 (Coin flip)
  • D4 (Four-sided dice)
  • D6 (Six-sided dice)
  • D8 (Eight-sided dice)
  • D10 (Ten-sided dice)
  • D12 (Twelve-sided dice)
  • D20 (Twenty-sided dice)

Warhammer 40k Quotes

A set of commands to print out Warhammer 40k Imperium of Man's and its sub-faction quotes

Selection Type

  • First
  • At Random

By Author

Search for a quote by an in-universe author

/wh40kquote by_author search:[string][max:40] [optional]result_type:[enumerable][default:at_random] [optional]count:[default:1][min:1][max:10] [optional]visible:[boolean][default:false]

Click for usage example

RobitQuoteByAuthor

By Source

Search for a quote by a real-life source

/wh40kquote by_source search:[string][max:40] [optional]result_type:[enumerable][default:at_random] [optional]count:[default:1][min:1][max:10] [optional]visible:[boolean][default:false]

Click for usage example

RobitQuoteBySource

Random

Gives out a random quote

/wh40kquote random [optional]visible:[boolean][default:true]

Click for usage example

RobitQuoteRandom

Text-Based Adventure game

Robit supports the generation of a text-based adventure game with users.

TBA create

Command to create a text adventure

/tba create game_theme:[string] [optional]max_turn_count_per_player:[integer][default:20] [optional]game_name:[string][default:{random integer}] [optional]visible:[boolean][default:true]

Click for usage example

RobitTBA

Support

For support, you can visit Robit's Little Shack Discord server

Tips

Help to cover Robit's hosting costs:

Ko-Fi

PayPal

Credits

Libraries

Library to interact with Discord's API

Library to interact with OpenAI's API

Library to interact with Giphy's API

Library used to interact with FFmpeg

Library to do JSON deserialization

Robit runs on .NET 7.0