GithubHelp home page GithubHelp logo

will8137 / jollyboi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raluvy95/jolly

0.0 0.0 0.0 715 KB

A multipurpose Discord bot written using Deno. (Test repo)

License: GNU General Public License v3.0

JavaScript 0.17% TypeScript 99.83%

jollyboi's Introduction

ARCHIVED

I don't maintain this anymore. Please fork this project to continue maintaining


CatNowBot - codename "Jolly"

A discord bot designed for my server (private bot). Rewritten in TypeScript using Deno. Its predecessor can be found in another repository

You can contribute whatever you want to improve the bot with additional features bug fixes.

Features

Some of these features can be configured with config.ts

  • Auto create channel when someone mentions non-existent channel (including private channel)
  • Autopost from subreddit (great if you want to setup automeme in funny meme channel)
  • Autopublish in announcements channel so you don't have to press publish button ever again
  • Autoroles with membership screening support
  • Bump reminder
    • Gets 100 XP reward if someone bumps the server
  • Ghost ping - The bot will notice when someone removed mentions of user.
  • Level system
    • way better than MEE6's paywall role rewards (plus unlimited role rewards!)
    • Also get XP while on vc per minute
  • Multiple prefixes
  • Music support (disabled by default due to stability issues)
  • Warning system + autosentence
  • and much more!

Build the bot and self-host

All you need is to have latest version of git and deno installed on your system
Step 1: Clone this repository git clone https://github.com/raluvy95/jolly.git
Step 2: Rename config.temp.ts to config.ts and complete there
Step 3: Open a terminal
Step 4: Run the bot with deno task run

How to keep your bot online 24/7 (for who has vps with access to ssh)

You can use any tools for virtual sessions. I recommend screen because it is included in major Linux distros.

If you have screen in your server. Great!

Use this following command to start a new session called jolly

screen -S jolly -m deno task run

you can return back to main session with [Ctrl+A] + D

To list of sessions, type screen -ls
To reconnect to virtual session, type screen -r <session>.
To kill an unresponsive session, press [Ctrl+A] + K
Example screen -r jolly

Custom folder

You may notice that there's custom folder. But what it is used for?
This is used for additional tasks coming for config.ts such as making custom variables to be used. I am not sure if it's for injecting new feature into Jolly, but that would be cool. Anyway, this is optional.

Advantages of Jolly over Maffin

  • Jolly is rewritten in TypeScript which takes fixing runtime errors more seriously. So no more unexpected crash and no more random TypeErrors
  • No more insane breaking changes from Discord API library
  • Has its own command handler, embed, utils and more
  • No more config.json. Use config.ts for more features such as variables, loop and typing.
  • With Deno, there's no node_modules folder either.

License

This bot is licensed under GPL version 3.

jollyboi's People

Contributors

raluvy95 avatar some-boi avatar duckyondiscord avatar creaksville avatar pisekpiskovec avatar will8137 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.