GithubHelp home page GithubHelp logo

agam778 / cannybot Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 18.15 MB

A fun telegram bot, made with grammY

Home Page: https://t.me/thecannybot

License: GNU General Public License v3.0

JavaScript 98.72% Dockerfile 1.28%
bot fun grammy telegram

cannybot's Introduction

CannyBot

CannyBot is an Open Source Telegram bot written in grammY. It's just a fun bot with some cool features. IT IS NOT a moderation bot.

Commands

Utilities:

  • /aur, /pacman - Get info about an AUR/pacman package
  • /help - Show a list of commands
  • /magisk - Get the latest Magisk releases
  • /npm, /yarn - Get info about a npm/yarn package
  • /pip - Get info about a pip package
  • /search - Search for a query in multiple search engines
  • /webshot - Take a screenshot of a website

Git Utilities:

  • /ghrepo - Get info about a GitHub repository
  • /ghuser - Get info about a GitHub user

Fun:

  • /meme - Sends a random meme from Reddit

More commands will be added soon!

Add it to your group

To add this bot in your group, invite "@thecannybot" to your group

Other Information

About the envrionment variables:

The environment variables are present in sample.env, rename it to .env and fill in the values if you're self hosting it.

  • BOT_TOKEN: The token of your bot, get it from @BotFather
  • LOG_CHANNEL: The ID of the channel/group where the logs will be sent if an error occurs when a command is executed
  • LOG_COMMANDS: Set it to true if you want to log every command that is executed
  • SITE_SHOT_API_KEY: Needed by the webshot command, get it from here

Self host:

Install Dependencies: Run yarn; yarn install
Run the Bot: Run yarn start

License

CannyBot is licensed under the GPL 3.0 license. See the LICENSE file for more information. If you are using the customized version of this bot/using any command in the bot for your own purposes, I would be grateful to have credits in any form.

cannybot's People

Contributors

agam778 avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

alumn1

cannybot's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

devcontainer
.devcontainer/devcontainer.json
  • ghcr.io/devcontainers/features/common-utils 2
  • ghcr.io/devcontainers/features/github-cli 1
  • ghcr.io/devcontainers/features/node 1
  • ghcr.io/devcontainers/features/python 1
  • ghcr.io/devcontainers-contrib/features/zsh-plugins 0
  • ghcr.io/stuartleeks/dev-container-features/shell-history 0
dockerfile
Dockerfile
npm
package.json
  • @roziscoding/grammy-autoquote ^2.0.0
  • axios ^1.4.0
  • dotenv ^16.0.3
  • express ^4.18.2
  • fs ^0.0.1-security
  • grammy ^1.16.1
  • gsmarena-api ^2.0.5
  • marked ^13.0.0
  • popcat-wrapper ^1.5.5
  • randomstring ^1.2.3
  • urban ^0.3.4
  • wikipedia ^2.1.0
  • @types/node ^20.2.3
  • yarn 4.3.1

  • Check this box to trigger a request for Renovate to run again on this repository

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.