{"id":19295789,"url":"https://github.com/xditya/accalia","last_synced_at":"2026-02-28T02:45:48.115Z","repository":{"id":106415057,"uuid":"305545287","full_name":"xditya/Accalia","owner":"xditya","description":"Be like a lion and a wolf, then you have a big heart and the power of leadership","archived":false,"fork":false,"pushed_at":"2020-10-20T00:21:41.000Z","size":375,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T00:41:38.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xditya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null}},"created_at":"2020-10-20T00:21:29.000Z","updated_at":"2022-01-01T07:02:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a79de00-4201-449b-9eb0-46aa9b9bcf05","html_url":"https://github.com/xditya/Accalia","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xditya/Accalia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FAccalia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FAccalia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FAccalia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FAccalia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xditya","download_url":"https://codeload.github.com/xditya/Accalia/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FAccalia/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284667476,"owners_count":27043890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T22:44:28.227Z","updated_at":"2025-11-16T06:01:37.810Z","avatar_url":"https://github.com/xditya.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Accalia\nBe like a lion and a wolf, then you have a big heart and the power of leadership\n\n[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://perso.crans.org/besson/LICENSE.html) [![Open Source Love svg2](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) [![Updates channel!](https://img.shields.io/badge/Join%20Channel-!-red)](https://t.me/ApolloOfficial)\n\nGENERATED FROM [THIS REPOSITORY](https://github.com/AnimeKaizoku/SaitamaRobot)\n\n\n\n\n[![Project Accalia](https://telegra.ph/file/92bd81e110b664eef370e.jpg)]\n\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Apollothewolf/Accalia.git)\n\n## Credits\nThe bot is based on the original work done by [PaulSonOfLars](https://github.com/PaulSonOfLars)\nThis repo was just revamped to suit an Anime-centric community. All original credits go to Paul and his dedication, Without his efforts, this fork would not have been possible!\n\n### Configuration\n\n\nThere are two possible ways of configuring your bot: a config.py file, or ENV variables.\n\nThe prefered version is to use a `config.py` file, as it makes it easier to see all your settings grouped together.\nThis file should be placed in your `tg_bot ` folder, alongside the `__main__.py` file . \nThis is where your bot token will be loaded from, as well as your database URI (if you're using a database), and most of \nyour other settings.\n\nIt is recommended to import sample_config and extend the Config class, as this will ensure your config contains all \ndefaults set in the sample_config, hence making it easier to upgrade.\n\nAn example `config.py` file could be:\n```\nfrom tg_bot.sample_config import Config\n\n\nclass Development(Config):\n    OWNER_ID = 254318997  # my telegram ID\n    OWNER_USERNAME = \"SonOfLars\"  # my telegram username\n    API_KEY = \"your bot api key\"  # my api key, as provided by the botfather\n    SQLALCHEMY_DATABASE_URI = 'postgresql://username:password@localhost:5432/database'  # sample db credentials\n    MESSAGE_DUMP = '-1234567890' # some group chat that your bot is a member of\n    USE_MESSAGE_DUMP = True\n    SUDO_USERS = [18673980, 83489514]  # List of id's for users which have sudo access to the bot.\n    LOAD = []\n    NO_LOAD = ['translation']\n```\n\nIf you can't have a config.py file (EG on heroku), it is also possible to use environment variables.\nThe following env variables are supported:\n - `ENV`: Setting this to ANYTHING will enable env variables\n\n - `TOKEN`: Your bot token, as a string.\n - `OWNER_ID`: An integer of consisting of your owner ID\n - `OWNER_USERNAME`: Your username\n\n - `DATABASE_URL`: Your database URL\n - `MESSAGE_DUMP`: optional: a chat where your replied saved messages are stored, to stop people deleting their old \n - `LOAD`: Space separated list of modules you would like to load\n - `NO_LOAD`: Space separated list of modules you would like NOT to load\n - `WEBHOOK`: Setting this to ANYTHING will enable webhooks when in env mode\n messages\n - `URL`: The URL your webhook should connect to (only needed for webhook mode)\n\n - `SUDO_USERS`: A space separated list of user_ids which should be considered sudo users\n - `SUPPORT_USERS`: A space separated list of user_ids which should be considered support users (can gban/ungban,\n nothing else)\n - `WHITELIST_USERS`: A space separated list of user_ids which should be considered whitelisted - they can't be banned.\n - `CERT_PATH`: Path to your webhook certificate\n - `PORT`: Port to use for your webhooks\n - `DEL_CMDS`: Whether to delete commands from users which don't have rights to use that command\n - `STRICT_GBAN`: Enforce gbans across new groups as well as old groups. When a gbanned user talks, he will be banned.\n - `WORKERS`: Number of threads to use. 8 is the recommended (and default) amount, but your experience may vary.\n __Note__ that going crazy with more threads wont necessarily speed up your bot, given the large amount of sql data \n accesses, and the way python asynchronous calls work.\n - `BAN_STICKER`: Which sticker to use when banning people.\n - `ALLOW_EXCL`: Whether to allow using exclamation marks ! for commands as well as /.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxditya%2Faccalia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxditya%2Faccalia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxditya%2Faccalia/lists"}