Giter Site home page Giter Site logo

cutiebot's Introduction

Cutiebot

The Cutie Club Discord Server bot, written using Discord.js.

Inviting to a Server

To add the bot to a server, click the following link; https://discord.com/api/oauth2/authorize?client_id=633716546568585216&permissions=1376805841990&scope=bot%20applications.commands

Cutiebot requires the following permissions;

+ Manage Roles
+ Kick Members
+ Ban Members
+ View Channels
+ Send Messages
+ Send Messages in Threads
+ Manage Messages
+ Embed Links
+ Attach Files
+ Read Message History
+ Read Messages / View Channels
+ Add Reactions
+ Use External Emojis
+ Add Reactions

(Please note that you will need the Administrator permission on the server you wish to add Cutiebot to!)

Development Requirements

You will also need a token, if you want to stage the bot on your own server for testing. Create an application in the Discord Developer Portal and create a Bot User.

Installation

In your terminal, run the following command;

git clone https://github.com/Cutie-Club/cutiebot.git

Once finished, run cd cutiebot, followed by yarn install. You may need to switch your local node install to 16.14 using nvm to avoid issues installing better-sqlite3, as prebuilt binaries are provided for node's LTS versions.

You can start the bot using npm run dev:start, which starts the bot using Nodemon.

Docker

To run the bot via Docker, install Docker on your machine.

To pull the pre-published Docker image:

docker pull ghcr.io/cutie-club/cutiebot:latest

Run the following to build the image:

docker build -t cutiebot .

You can run the image with the following command:

docker run -d \
  --env DISCORD_TOKEN=yourTokenHere \
  --name cutiebot \
  --mount type=bind,source="$(pwd)/database",target=/usr/cutiebot/database \
  cutiebot:latest

cutiebot's People

Contributors

amberstarlight avatar dependabot[bot] avatar obosob avatar mini-ninja-64 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.