Discord feeder for AIL

Overview

ail-feeder-discord

Discord feeder for AIL

Warning! Automating user accounts is technically against TOS, so use at your own risk!

Discord API

https://discord.com/developers/docs/intro

How does it work?

The program does the following in this order:

  1. login with the given account (token in etc/token.txt)
  2. fetch all the servers the user is already part of
  3. scan the channels in each server for the given query, if a match is found, extract the data and upload it
  4. after scanning for the query in the messages, the program looks for URLs in the channels, if a URL is found, extract the data and upload it
  5. once all the servers, the user has been part of, are scanned, the program joins all the servers in etc/server-invite-codes.txt and repeats steps 3 and 4 for the newly joined servers
  6. after this, the program starts to listen for incoming messages for scantime seconds
  7. when a message comes in, matching the query or containing a link, the data is extracted and uploaded
  8. when the scantime seconds are up, the program exits

NB: When a new message arrives during steps 2-5, the program treats the new message first and continues the previous scan after completing the new incoming message.

Requirements

TODO

How to use? (Work in progress)

  1. Create a file token.txt in the etc/ folder in the root directory. Add the Discord token of the account you want to use. How to get the Discord user token

  2. Create a file server-invite-codes.txt in the etc/ folder in the root directory if you want to automatically join and scan new servers. Add the invite codes in separate lines in this file. (Make sure to not add the complete links! e.g., abcd1234 instead of https://discord.gg/abcd1234)

  3. Run the command below with the desired parameters and wait for execution to finish.

ail-feeder-discord/: python3 bin/feeder.py --help
usage: feeder.py [-h] [--verbose] [--nocache] [--messagelimit MESSAGELIMIT] [--replies] [--maxsize MAXSIZE] [--scantime SCANTIME] query

positional arguments:
  query                 query to search on Discord to feed AIL

optional arguments:
  -h, --help            show this help message and exit
  --verbose             verbose output
  --nocache             disable cache
  --messagelimit MESSAGELIMIT
                        maximum number of message to fetch
  --replies             follow the messages of a thread
  --maxsize MAXSIZE     the maximum size of a url in bytes
  --scantime SCANTIME   the amount of time the application should keep listening for new messages in seconds (turned off by default)
Owner
ail project
ail project
A Simple Telegram Bot To Download And Upload Files

AquaDLBot โž  I Can Download And Upload files To Telegram DEMO Copyright (C) 2020-2026 by [ema

Asia Argento 8 Feb 15, 2022
An unofficial client library for Google Music.

gmusicapi: an unofficial API for Google Play Music gmusicapi allows control of Google Music with Python. from gmusicapi import Mobileclient api = Mob

Simon Weber 2.5k Dec 15, 2022
VALORANT rank yoinker lets you retrieve the ranks and basic informations of everyone in the lobby, regardless of gamemode.

vRY VALORANT rank yoinker Retrieve the rank and basic information of everyone in the lobby, regardless of gamemode. Table of Contents Terms of Use Abo

Isaac Kenyon 270 Dec 30, 2022
MassReportBot - Discord Mass Report Bot By Dropout

Discord Mass Report Bot By Dropout Discord Report Bot, Just Re-Made The "Admin R

vanis / 1800 0 Jan 20, 2022
A simple tool which automate commands of discord economy bots

A simple tool which automate commands of discord economy bots. Fully configurable using an intuitive configuration made in YAML

SkydenFly 5 Sep 18, 2022
โ›‘ REDCap API interface in Python

REDCap API in Python Description Supports structured data extraction for REDCap projects. The API module d3b_redcap_api.redcap.REDCapStudy can be logi

D3b 1 Nov 21, 2022
๐Ÿ“ท Instagram Bot - Tool for automated Instagram interactions

InstaPy Tooling that automates your social media interactions to โ€œfarmโ€ Likes, Comments, and Followers on Instagram Implemented in Python using the Se

Tim GroรŸmann 13.5k Dec 01, 2021
Elon Muschioso is a Telegram bot that you can use to manage your computer from the phone.

elon Elon Muschioso is a Telegram bot that you can use to manage your computer from the phone. what does it do? Elon Muschio makes a connection from y

4 Feb 28, 2022
A surviv.io bot that helps you manage you clan in surviv.io!

Scooter-Surviv.io-Clan-Bot A Surviv.io Discord Bot This is a bot that helps manage your surviv.io clan! Read below for more!!. Features Lets you creat

cosmic|duck 1 Jan 03, 2022
=>|<= the MsgRoom bot for Windows 96

=|= bot A MsgRoom bot in Python 3 for Windows96.net. The bot joins as =|=, if parameter name_lasts is not true and default_name is =|=. The full

Larry Holst 2 Jun 07, 2022
A Telegram bot to index Chinese and Japanese group contents, works with @lilydjwg/luoxu.

luoxu-bot luoxu-bot ๆ˜ฏ็ฑปไผผไบŽ luoxu-web ็š„ CJK ๅ‹ๅฅฝ็š„ Telegram Bot๏ผŒไพ่ต–ไบŽ luoxu ๆ‰€ๅˆ›ๅปบ็š„ๅŽ็ซฏใ€‚ ๆต‹่ฏ•็Žฏๅขƒ Python 3.7.9 pip 21.1.2 ๅผ€ๅ‘ไธญไฝฟ็”จๅˆฐ็š„ Telethon ้œ€่ฆ Python 3+ ้…็ฝฎ ๅ‰ๅพ€ luoxu ๆ นๆฎ็›ธ

TigerBeanst 10 Nov 18, 2022
BT CCXT Store

bt-ccxt-store-cn backtraderๆ˜ฏไธ€ไธช้žๅธธๅฅฝ็š„ๅผ€ๆบ้‡ๅŒ–ๅ›žๆต‹ๅนณๅฐ,ๆˆ‘่‡ชๅทฑไนŸๆ—ถๅธธ็”จๅฎƒ,backtraderไนŸ่ƒฝๆŽฅๅ…ฅๅฎž็›˜,่€Œbt-ccxt-storeๅฐฑๆ˜ฏๅธฎๅŠฉbacktraderๆŽฅๅ…ฅๆ•ฐๅญ—่ดงๅธๅฎž็›˜ไบคๆ˜“็š„ไธ€ไธชๆ’ไปถ,ไฝ†ๆ˜ฏbt-ccxt-store็š„ๆŸไบ›ๅฎž็Žฐๅนถไธๆ˜ฏๅพˆๅฅฝ,ๆ— ่Š‚ๅˆถ็š„็ฝ‘็ปœ่ฝฎ่ฏข,ไธ€ไบ›

moses 40 Dec 31, 2022
A Pluggable And Powerful Telegram Manager Bot

FRIDAY-USERBOT ๐Ÿ‡ฎ๐Ÿ‡ณ A Powerful, Smart And Simple Userbot In Pyrogram. Support ๐Ÿš‘ Inspiration & Credits Userge-X Userge Pokurt Pyrogram Code Owners Chs

DevsExpo 371 Mar 26, 2022
CSUL Discord Bot

Cruzeiro This is the same old bot running on the Discord Server of CSUL, but i've changed the code. It's better now. Discord.py Heroku How i did The b

Operaho 6 Jan 31, 2022
โœจ A simple project to automate some stuffs in Habbo with G-Earth โœจ

โšก๏ธ Habbo G-Earth extensions โšก๏ธ โœจ A simple project to automate some stuffs in Habbo with G-Earth โœจ About | Getting Started | Authors โžค Getting Started

Lucca Pessoa 1 Jan 09, 2022
Framework for Telegram users and chats investigating.

telegram_scan Fantastic and full featured framework for Telegram users and chats investigating. Prerequisites: pip3 install pyrogram; get api_id and a

71 Dec 17, 2022
This repository contains ready to deploy automations on AWS

aws-automation-plugins This repository contains ready to deploy automations on AWS. How-To All projects in this repository contain a deploy.sh file wh

Akesh Patil 8 Sep 20, 2022
A Telegram Bot written in Python for mirroring files on the Internet to Google Drive

No support is going to be provided of any kind, only maintaining this for vps user on request. This is a Telegram Bot written in Python for mirroring

0 Dec 26, 2021
SpautiNoFay - A simple and beautiful music player created with Python

SpautiNoFay A simple and beautiful music player created with Python Why SpautiNo

8 Jan 19, 2022