Git Product home page Git Product logo

chatutils's Introduction

Chatutils

Alternative embeddable front-end for your Discord server

This is a continuation of TN's chatutils, because it was such a great project

It was made private so we made this, a continuation that other people can use and contribute too!

Join our discord: https://discord.gg/xqtqzNZhVj

screenshot

To Do:

https://github.com/orgs/Chatutils/projects/1

Setup:

Make private github:

  1. Download the (Github repo)[https://github.com/Chatutils/Chatutils/archive/master.zip]

  2. Create a private github repository and manually add the files you downloaded

Token:

  1. Visit the (Discord Developer Portal)[https://discord.com/developers/applications], signin, and press New Application

  2. Set your application name to whatever you desire, this will not matter later

  3. Once you are at the bot page, to the left you will see a button labelled Bot, click this and press Add Bot to the right then press Yes, do it! to confirm. Name it what you want your bot to be called

  4. Scroll down to the area where it says Token Click to reveal token and press the blue Copy button below it

  5. In your piviate github open up the config.json

  6. Inside config.json, remove the text that says token-here and in its place, paste from your clipboard as the copy button on the earlier page should have copied your token DO NOT SHARE THIS TOKEN

Email:

  1. In the config, replace [email protected] with a contact email

Role ID:

  1. Copy the the ID of a role that can setup the bot and put it in admin-role-id-here

Channel ID:

  1. Now open dynamicData.json and replace channel-id-here with the channel id that you want to use for chatutils

Webhooks:

  1. Go to the channel your going to use and click settings

  2. Go to integrations, webhooks and create 3 webhooks. Copy the webhook urls and paste them into the 3 places for webhooks

Discord:

  1. Now go to /public/index.html and go to line 26 and put a permanent discord invite there

  2. Now delete /public/assets/logo.png and upload your serer's logo

Application ID:

  1. Save and go back to the (Discord Developer Portal)[https://discord.com/developers/applications] page and go to your bots General Information tab and and under the APPLICATION ID text it will show a series of numbers (eg. 923819283912931299)

  2. Once you have located this, press the blue Copy button below it

  3. Visit the invite URL generator for chatutils then paste from your clipboard your APPLICATION ID that you had just now copied into the input box that says Application ID then press OK

  4. A new link should have appeared on your screen if all was done correctly, click on this link and choose a server to invite your bot to

Deploy to heroku:

  1. Now go to https://heroku.com/deploy?template=your-github-url-here/tree/main

  2. It will ask to connect to your github, follow the steps

  3. Now deploy

Congrats, you successfully setup Chatutils!

If it is not working try:

  1. In the chatutils channel say _setchannel

  2. In the chatutils channel say _setlogging

  3. Just wait a bit

Discord ID:

Developer Mode:

You need developer mode on to get any id

  1. User Settings

  2. Advanced

  3. Toggle developer mode on

Channel ID:

  1. Right click on channel

  2. Press copy ID

Role ID:

  1. Server Settings

  2. Roles

  3. Right click on role

  4. Press Copy ID

Bot Commands:

_say message (ex: _say hello world!)

Configuration:

Bot Info:

Name and picture:

  1. Visit the (Discord Developer Portal)[https://discord.com/developers/applications]

  2. Click the button labelled Bot

  3. Change the bot name and picture to whatever you like

Playing Message:

  1. Go to server.js

  2. Click edit and go to line 432

  3. Edit name:'Alternative embeddable front-end...'} to something whatever you want, ex: name:'Chatutils!'}

Custom Emojis:

  1. Go to /public/assets/emojis.js

  2. In the place you want your emoji put ['emoji_name','๐Ÿ’ป'],

  3. The bottom emoji does not have a ,

Automatically Deploy:

This is very useful if your a dev who updates regularly

  1. Go to https://dashboard.heroku.com/apps/your-app-name/deploy/github

  2. Search for your app

  3. Connect the right one

  4. Click Enable Automatic Deploys

Credits:

Everyone at TN

Divide

Pers0n-dev

EnderKingJ

MegaPixel

chatutils's People

Contributors

nebelung-dev avatar 1ltr avatar s-tn avatar

Watchers

 avatar

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.