{"size": 518, "ext": "js", "max_stars_repo_path": "action/middlewares/stream.js", "max_stars_repo_name": "bsbateam/bot", "max_stars_repo_stars_event_min_datetime": "2020-10-28T16:53:00.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-01T07:00:18.000Z", "max_issues_repo_path": "action/middlewares/stream.js", "max_issues_repo_name": "genemators/bot", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "action/middlewares/stream.js", "max_forks_repo_name": "genemators/bot", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 4, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.6666666667, "max_line_length": 59, "alphanum_fraction": 0.6602316602}
const { composer, middleware } = require("../../core/bot");

const gifs = require("../../database/db").gifs;
const consoles = require("../../layouts/consoles");
const message = require("../../layouts/messages");
const keyboard = require("../../layouts/keyboards");

composer.command(`stream`, async (ctx) => {
	await ctx.replyWithAnimation(
		{ url: gifs.stream },
		{
			caption: message.stream,
			parse_mode: "HTML",
			reply_markup: keyboard.stream,
		}
	);
});

middleware(composer);
consoles.module(__filename);
