A simple, Reddit-focused Discord bot.
Add it to your server: https://tutu.imvasi.com
- ๐ Get top posts, hourly/daily/weekly/monthly/yearly/overall
- ๐ Get random posts of any subreddit
- ๐ Get posts by their ID
- ๐ Search for any Reddit post with an advanced search command
- ๐ค Get posts from any Reddit user
- ๐จ Easy and fast navigation with reactions
- ๐ NSFW protection, such posts are only shown in NSFW channels
- ๐ Get definitions for anything, using Urban Dictionary
- ๐ฌ Includes examples, likes & dislikes, and author
- ๐จ Easy and fast navigation with reactions
Tutu Bot is already hosted by me and is running 24/7.
You can add it to your server here:
https://tutu.imvasi.com
There are many reasons why you would want to do that, such as customizing the bot to your likings. You must follow these instructions in order to install it properly:
Clone the repo
git clone https://github.com/down-bad/TutuBot.git
Then, run
npm install
to install the required dependencies. Make sure you have Node installed.
Rename the rename_me.json
file to config.json
.
Fill out the required information:
token
: Your bot tokenownerID
: Your Discord user ID
You need to obtain a Reddit app ID & secret hash in order to use the Reddit functionality of this bot, using the following instructions:
- Go to Authorized applications
- Press "Create an app"
- Enter an application name, a description and a redirect uri (if you're not sure about the redirect uri, just put
http://localhost:8080
) - Choose "script" in the list - that's important
- Press the "Create app" button
You will get the app's ID under the "personal use script" line and the secret hash.
In config.json
, fill out the redditCredentials
:
username
: Your Reddit usernamepassword
: Your Reddit passwordapp_id
: The app ID you obtained aboveapi_secret
: The secret hash you obtained above
Make sure you're using the Reddit account that you got the ID with.
Run
node index.js
to run the bot.
Enjoy!