A fully configurable and customizable discord bot for any type of server written from scratch in the JavaScript

Overview

sarah

Our website — sarah project's website

Welcome to the main site of the sarah project, a general purpose, configurable and highly reliable discord bot made entirely in pure JavaScript with only a few dependencies. Sarah is totally open source software, so feel free to contribute and make the changes you want to this project's source code. Also, if you like this project and want to help us in an indirect way, please give us a star, we will really appreciate it.



installation

In the following steps, we'll guide you through the (very easy) process of installing the sarah bot in your discord server and deploying it.
  1. Forking and installation
  2. Configuration
  3. Bot deployment
  4. Adding more commands

Forking and installation

To install sarah in your favourite server, first you will have to fork this repository by clicking the fork button, after that, wait for a while until the process is completed and you will have succesfully forked the sarah repository.

Configuration

After forking sarah, you will have to configure it, this can be done by editing the ./sarah/settings/settings.json module with your favourite code editor. You must fill in all the properties.

Bot deployment

And finally, you will just have to set up your deployment workflow (we personally recommend Heroku) and your bot will be successfully deployed.

Adding more commands

Adding custom commands to the server is also an easy task, you only have to follow those three instructions:
  1. Firstly, you need to create its own JavaScript module in the ./sarah/commands/ directory, which must be called [command].js.
  2. Then, write the command program within its main function, which must be called [command]cmd and must recieve five arguments: message, args, client, _, __ (the last two arguments are useless, but your function must recieve them; otherwise it will generate an error).
  3. And finally go to the commands section of the settings.json module and add your command there as an object with the following properties:
  • name: string
  • desc: string
  • path: string
  • admin: bool
  • state: 0 or 1
  • log: bool
  • logicon: string
  • logmsg: string
  • logcolor: string
And your command will be ready for action!!

commands

The sarah bot comes by default with a wide variety of useful commands for your server, which we are detailed below. With this purpose in mind, we would like to detail the notation used below:
  • s! will be the default prefix in this notation.
  • s!command [param] means this command requires a parameter.
  • s!command (param) means this command supports an optional parameter.
  • 👮 s!command means this command can only be run by administrators
With this notation already detailed, let's go with the commands:
  • 👮 s!ban [user]: When you insert a tag after the command, you ban the pinged user.
  • 👮 s!kick [user]: When you insert a tag after the command, you kick the pinged user.
  • 👮 s!cls [number]: If you write a number between 1-250 after typing this command, you delete that number of msgs.
  • 👮 s!lock (channel): If you type this command on a channel, that channel gets locked.
  • 👮 s!unlock (channel): If you type this command on a channel, that channel gets unlocked.
  • 👮 s!warn [user]: When you insert a tag after the command, you warn the pinged user.
  • 👮 s!unwarn [user]: When you insert a tag after the command, you unwarn the pinged user.
  • 👮 s!warns (user): The bot sends an embed with the warndes users in every server it is.
  • 👮 s!wjson : The bot sends a JSON object with the warned users in every server it is.
  • 👮 s!setwarns [file]: Given an attached JSON file, the server warnings will be replaced by the given in that file.
  • 👮 s!shutdown: Just shutdown the bot until the turnon command is called.
  • 👮 s!turnon: Turns on the bot again.
  • s!ping: Simply replies with pong.
  • s!help: This command shows you sarah's commands.
  • s!pf [user]: If you ping a user before the command, you see his/her profile photo.
  • s!cmds: You're actually using this command.
  • s!bans: The bot sends a list with all the banned users.
  • s!ascii [text]: The bot sends a beauty text.
  • s!meme: Sends a random meme.
  • s!userinfo [user]: The bot sends an embed with the user's properties.
  • s!srvinfo: The bot sends an embed with the server's properties.
  • s!rand (number) (number): The bot sends a random number between a given interval.
  • s!dice: The bot sends a random number from 0 to 6.
  • s!develop: The bot sends an embed with the commands wich are on development.
  • s!emojis: The bot sends an embed with all of this server's exclusive emojis.
  • s!ytsearch (text): Searches YouTube for a video related to the given query.


license

Copyright (c) 2022 dotted software

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


You might also like...

Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify

Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify, apple music support . You can save your songs and play it. It also has DJ mode system.

Dec 25, 2022

Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Mar 20, 2022

A Discord - Telegram bridge rewrote from scratch, in Node.js

Discord-Telegram-bridge A small and fast telegram to discord chat bridge, written in Node.js Setup: If you want to run it on heroku, you can just clic

Apr 14, 2022

A Discord bot that snitches on the lore & events, i.e. lies, about any two random users within a server.

A Discord bot that snitches on the lore & events, i.e. lies, about any two random users within a server.

Trash Panda Bot Trash Panda Bot A little trash panda to randomly post in your Discord server. Explore the docs » · Report Bug · Request Feature Table

May 29, 2022

About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Dec 28, 2022

A feature-rich Giveaway Bot For Discord Written In Discord.js v13. Ft. Slash Commands & Buttons. Make Giveaways and…

A feature-rich Giveaway Bot For Discord Written In Discord.js v13. Ft. Slash Commands & Buttons. Make Giveaways and…

Giveaway - Discord Bot A feature-rich Giveaway Bot For Discord Written In Discord.js v13. Ft. Slash Commands. Make Giveaways and more..! Explore the d

Dec 5, 2022

A bot to manage a whole game jam/hackathon server from a fully functional pollsystem to managing color roles.

Jambo This bot is made to autonomously manage a discord server with regular game jams/hackathons. It will collect the proposals for the jam, create po

Nov 3, 2022

A bot to manage a whole game jam/hackathon server from a fully functional pollsystem to managing color roles.

Jambo This bot is made to autonomously manage a discord server with regular game jams/hackathons and make it a plasent and happy enviroment. It will c

Apr 7, 2022

Aeona is a multi-purpose discord bot ready to skill up and boost up your Discord server! It has an State of the Art AI chatbot to make sure you never feel bored!

Aeona | Chatbot Aeona is an ever-growing multipurpose bot; primarily a fun chatbot you can converse with, but also showcases a wide range of fun comma

Jan 9, 2023
Releases(v1.1.2)
Owner
dotted software
creating normal software for normal people
dotted software
A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.

Public Bot and Support Server! Invite the Public Version of this Bot so you don't need to host it by yourself or join my Discord server to get a custo

Tomato6966 472 Dec 25, 2022
A fully customizable bot built with 147 commands, 11 categories and a dashboard using discord.js v13

Pogy the Discord Bot [DJS V13] A fully customizable bot built with 147 commands, 11 categories and a dashboard using discord.js v13 About • Features •

Pogy 61 Dec 30, 2022
This DJS ticket system with transcripts is fully configurable, you can change the transcripts channel, tickets channel, and more

This DJS ticket system with transcripts is fully configurable, you can change the transcripts channel, tickets channel, and more! This command uses embeds, and buttons.

LunarCodes 6 Oct 18, 2022
Easy-to-use , actively maintained discord bot written in dJS V13 with customizable features

Multi-purpose discord bot Found a bug? Notes There are some modules missing, you can still start the bot but there are some things within the source t

locus 7 Nov 28, 2022
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
Meet Muffin - a multipurpose, customizable and open source Discord bot with bunch of useful features for your server!

Meet Muffin - a multipurpose, highly customizable and open source Discord bot with bunch of useful features for your server! Self-hosting notice While

null 0 Oct 21, 2021
An Easy to use and advanced working multiguild Waitingroom Bot written in discord.js v13 without any extra modules.

Multiguild-Waitingroom-v13 An Easy to use and advanced working multiguild Waitingroom Bot written in discord.js v13 without any extra modules. It is m

Tomato6966 17 Dec 11, 2022
Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot that handles all your server needs.

Welcome to Co-Pilot Bot repo! ?? ?? Co-Pilot (All-in-one Discord Bot) Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot

YMafalha 19 Nov 11, 2022
A bot Similar to the reaction roles discord bot, but free. Written in JavaScript, and uses MongoDB.

Discord Reaction Roles bot About • Features • Installation • Setting Up About An open source reaction roles bot to anyone who needs one in their serve

null 52 Dec 22, 2022
a customizable bot that takes top memes of the day from any r/subreddit and posts them on your instagram page

TAEWONSU a customizable bot that takes top memes of the day from r/subreddit and posts them on your instagram page SetUp install any LTS nodejs (lates

Nukala Suraj 8 Oct 23, 2022