GithubHelp home page GithubHelp logo

sarahbot's Introduction

SarahBot

A bot for the Discord Server, Latte U. Feel free to rehost and try it out on your own servers, only issue is you may need to take a peek in the code to change certain values. Sorry!

Startup

To start your SarahBot, run the command node . in the root directory of your SarahBot

config.json

To actually use this bot make sure you have a config.json file inside of the root directory containing these values

{
    "token" : "bot-token-here",
    "guildId" : "guild-id-here",
    "clientId" : "application-id-here",
    "embedColor" : [0, 0, 0],
    "website" : "server-website-here",
    "statusStartup" : "bot-status"
}

For your guildId it you don't have to put anything, as it is simply for testing.

Deploying

Deploying your commands is crucial in order to push your commands to the discord servers, that way people in servers can run them! To start, make sure all of your commands are in different folders, for example: commands/fun/ping.js commands/utility/serverstats.js This is to keep things organized.

Now all you have to do is run the command node deploycommands.js to deploy. Give it a few minutes and you should be able to run your bots commands.

Commands

For making commands visit these websites for help

https://old.discordjs.dev/#/docs/discord.js/main/general/welcome

https://discordjs.guide/creating-your-bot/slash-commands.html#before-you-continue

sarahbot's People

Contributors

nonamegivencoder 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.