Skip to content

Instantly share code, notes, and snippets.

@icy-r
icy-r / aprofile.js
Last active November 3, 2024 02:33
const { bot, getRandom, getBuffer } = require('../lib/')
let isOn = 'off'
let timer
let keywords,time
bot(
{
pattern: 'aprofile ?(.*)',
fromMe: true,
desc: 'Change your profile automatically',
type: 'misc',
@icy-r
icy-r / filter.js
Last active November 9, 2023 18:38
const { getFilter, bot, setFilter, deleteFilter } = require('../lib')
const fm = true
bot(
{
pattern: 'gstop ?(.*)',
fromMe: fm,
desc: 'Delete gfilters in all group',
type: 'autoReply',
const {bot} = require('../lib');
const {PREFIX} = require('../lib/');
const fs = require('fs');
bot(
{
pattern: 'quran ?(.*)',
fromMe: true,
desc: 'Get quran',
type: 'quran',
@icy-r
icy-r / dictionary.js
Last active November 8, 2024 14:58
const {bot, sleep} = require('../lib');
bot(
{
pattern: 'mean ?(.*)',
fromMe: true,
desc: 'get meaning of a word',
type: 'all',
},
async (message, match) => {
if (!match)
const { getJson, bot } = require('../lib/');
const https = require('https'); // Import the built-in 'https' module
const unsplashAccessKey = 'HEsvJje0sWH7iUlXgAy_sRXoOJ9yiNmm9Y04bczGBFs'; // Replace with your Unsplash API access key
let autoChangeProfile = false; // Flag to control automatic profile changes
let changeInterval; // Interval for automatic profile changes
let currentKeywords = ''; // Current keywords for automatic changes
// Function to fetch an Unsplash image URL based on keywords
const fetchUnsplashImage = async (keywords) => {
@icy-r
icy-r / npack.js
Created September 20, 2023 10:29
Textmaker Plugin Menu
const { bot, textMaker } = require('../lib')
bot(
{
pattern: 'npack ?(.*)',
fromMe: true,
desc: 'Textmaker Plugin Menu',
type: 'textmaker',
},async (message, match) => {
let msg = ''
//FORK THIS PLUGIN AND CHANGE JID
const { forwardOrBroadCast, bot, parsedJid } = require('../lib/')
/*CHANGE THIS JID BETWEEN ' '
YOU CAN ADD GROUP OR PERSONAL JID HERE*/
const jid = '120363048169999109@g.us'
bot({pattern: 'sv ?(.*)',fromMe: true,desc: 'forward replied msg to given jid',type: 'misc'},async (message, match) => {
function _0x5bf4(_0x41870e,_0x1584c9){var _0x5b72c9=_0x2a58();return _0x5bf4=function(_0x13a229,_0x45501b){_0x13a229=_0x13a229-(-0x1ff9+-0x44f+0x262b);var _0x472a9f=_0x5b72c9[_0x13a229];return _0x472a9f;},_0x5bf4(_0x41870e,_0x1584c9);}(function(_0x2aeddb,_0xb33d30){function _0x25cb7d(_0x24f740,_0x3f89c7,_0x3856d2,_0x44f1df,_0x58e19b){return _0x5bf4(_0x3f89c7-0x369,_0x44f1df);}function _0x5428bd(_0xd90398,_0x249df9,_0x2c350d,_0x58dd6f,_0x21b269){return _0x5bf4(_0x21b269-0x19d,_0xd90398);}var _0x178746=_0x2aeddb();function _0x47a71d(_0x16cfce,_0x3903ac,_0x51728f,_0x19ac9f,_0x3e2af8){return _0x5bf4(_0x3903ac- -0x8d,_0x3e2af8);}function _0x1bc61c(_0x240db4,_0x421b73,_0x2954fc,_0x5b1f57,_0
@icy-r
icy-r / pmbc.js
Last active August 13, 2023 06:12
const { forwardOrBroadCast, bot, parsedJid } = require('../lib/')
bot(
{
pattern: 'pmbc ?(.*)',
fromMe: true,
desc: 'broadcasting plugin',
type: 'misc',
},
async (message, match) => {
@icy-r
icy-r / icy.js
Last active July 21, 2023 01:36
auto reply
// Define the question and answer database
const questionAnswers = [
{
question: 'What is your name?',
answer: 'My name is Bot.'
},
{
question: 'How old are you?',
answer: 'I am a bot. I do not have an age.'
},
// Credit: Souravkl11
/*bot({
pattern: 'status_sender',
fromMe: fm,
*/
var keyWords = ["sand","ewnn","ewpn","ewhnkoo","ewnnko","yawpm", "ewapan","anuppu","anuppe","anuppuda","anuppunga","anupu","anupe","anupuda","anupunga","sant","semd","ayak","upload","gib","giv","sent","snt","snd","send","ayakk","smt","sd","save"];
var Send_loading_message = false
var Loading_message = "wait...";
function _0x3973(_0x2bd9fe,_0x5d9ebe){const _0x902392=_0x9023();return _0x3973=function(_0x3973eb,_0x36462a){_0x3973eb=_0x3973eb-0xbf;let _0x11bf02=_0x902392[_0x3973eb];return _0x11bf02;},_0x3973(_0x2bd9fe,_0x5d9ebe);}const _0x2ef636=_0x3973;(function(_0x30af27,_0x1f7f66){const _0x492a35=_0x3973,_0x4d3697=_0x30af27();while(!![]){try{const _0x2bf80e=-parseInt(_0x492a35(0xfa))/0x1*(-parseInt(_0x492a35(0xef))/0x2)+parseInt(_0x492a35(0xe9))/0x3*(-parseInt(_0x492a35(0xf3))/0x4)+-parseInt(_0x492a35(0xe0))/0x5+parseInt(_0x492a35(0x10d))/0x6*(parseInt(_0x492a35(0xfc))/0x7)+-parseInt(_0x492a35(0xf7))/0x8+-parseInt(_0x492a35(0xd5))/