Skip to content

Instantly share code, notes, and snippets.

Privacy Policy

Data Collected

  • Karuta drop images.
  • Server settings:
    • Role Ids.
    • Channels Ids.
    • User set settings needed for the bot to function.
  • User settings:
@Grapes1111
Grapes1111 / tos.md
Created April 15, 2025 18:14
Terms of service

K-Farm's Terms of Service

This document outlines the rules you must follow when using K-Farm (the "Bot"). By using the Bot, you're confirming that you agree to these Terms of Service ("Terms"). If you disagree with these Terms, please do not use the Bot. We reserve the right to suspend any User, Member, or Server that we believe has violated our Terms.

Rule One

Follow Discord’s Terms of Service and Community Guidelines.

Rule Two

import { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, CommandInteraction, ButtonInteraction, GuildTextBasedChannel, User, Message, SendableChannelTypes, SendableChannels, TextBasedChannel } from "discord.js";
function generateButtonRow(
position: number,
totalLength: number,
style = ButtonStyle.Secondary,
disabled = false,
refresh = false,
refreshStyle?: ButtonStyle,
refreshId?: string,
use image::{imageops, DynamicImage, Luma};
use leptess::LepTess;
use reqwest;
use std::io::Cursor;
use napi_derive::napi;
use std::collections::HashMap;
#[napi]
pub async fn main(url: String) -> Vec<HashMap<String, String>> {
let mut results: Vec<HashMap<String, String>> = Vec::new();
<body class="bg-layer-bg" style="overflow: auto;"><div class="relative h-screen" id="container"><div class="flex flex-col gap-2"><div class="mx-auto w-full max-w-7xl px-8 lg:px-0"><div class="bg-layer-card rounded-md p-5 adignore z-40 mt-8 max-w-7xl"><div class="items-center flex justify-between w-full"><div class="flex gap-6 items-center"><a href="/"><img src="/img/memer.webp" class="h-[45px] w-[45px]" alt="Logo"></a><div class="flex gap-6 items-center hidden md:flex"><a href="/commands"><p style="font-size:16px" class="font-normal text-text-primary text-left __className_af19bf">Commands</p></a><a href="/changelog"><p style="font-size:16px" class="font-normal text-text-primary text-left __className_af19bf">Changelog</p></a><a href="/tutorials"><p style="font-size:16px" class="font-normal text-text-primary text-left __className_af19bf">Guides</p></a><a href="/blogs"><p style="font-size:16px" class="font-normal text-text-primary text-left __className_af19bf">Blogs</p></a><a href="/store"><p style="font-size:16
<div class="flex flex-col gap-4"><div class="bg-layer-card rounded-md p-5"><div class="flex gap-2 flex-wrap"><button variant="primary" class="transition-colors rounded-md duration-300 relative flex items-center justify-center bg-primary hover:bg-primary/80 text-text-primary py-2 px-3 font-medium text-sm hidden md:flex"><div class="flex items-center">All</div></button><button variant="card-02" class="transition-colors rounded-md duration-300 relative flex items-center justify-center bg-layer-card-02 hover:bg-layer-card-02/80 text-text-primary py-2 px-3 font-medium text-sm hidden md:flex"><div class="flex items-center">Buff</div></button><button variant="card-02" class="transition-colors rounded-md duration-300 relative flex items-center justify-center bg-layer-card-02 hover:bg-layer-card-02/80 text-text-primary py-2 px-3 font-medium text-sm hidden md:flex"><div class="flex items-center">Collectible</div></button><button variant="card-02" class="transition-colors rounded-md duration-300 relative flex items-c
module.exports.checkEmojis = (string) => {
const UnicodeEmojis = string.match(reg);
const CustomEmojis = Array.from(string.matchAll(/<?(?:(a):)?(\w{2,32}):(\d{17,19})?>?/g))
return {
custom: CustomEmojis ?? [],
unicode: UnicodeEmojis ?? []
}
}
const reg = new RegExp(/(?:\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c\udffb|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c\udffb|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c