Skip to content

Instantly share code, notes, and snippets.

View BlackAmda's full-sized avatar
💃
Working on Queen Amdi Bot

Achintha Bandara ✅ BlackAmda

💃
Working on Queen Amdi Bot
View GitHub Profile
@BlackAmda
BlackAmda / Queen Amdi : Patch Notes.md
Last active November 2, 2023 13:37
Queen Amdi 3.6v : Patch Notes
🇱🇰 ⬆️ Queen Amdi Patch Note – 3.6V ⬆️🇱🇰
Check out our website : https://amdaniwasa.com/
━━━━━━━━━━━━━
🆕 New features :
☞ Web API upgraded + speeded up the server based commands.
☞ Fully NPM based functions.
☞ Added Auto Inbox Messages Blocking system. (You can turn on it by .settings command)
☞ Added Vote Poll System. (To learn how to set a vote vist  https://github.com/BlackAmda/QueenAmdi/wiki/Vote-Poll-System)
☞ Added log number error hide option. (.setvar NO_ERROR_LOG=true)
@BlackAmda
BlackAmda / Queen Amdi Annoucment.json
Last active October 9, 2024 21:49
Queen Amdi Announcement System [Expired]
{
"announcements":{
"infoen":"```Do you have any feature requests?💃🏻♥️```\n\n*WOW!* Amazing.. Comment us your new ideas to improve and help your doings.\n\n*Visit here and comment your idea : https://amdaniwasa.com/index-en.html#comments*\n\n```- Queen Amdi Project Team -```",
"infosi":"```ඔබට කිසියම් විශේෂාංග ඉල්ලීමක් තිබේද?💃🏻♥️```\n\n*WOW!* Amazing.. ඔබේ ක්‍රියාවන් සඳහා උදව් කිරීමට සහ bot වැඩිදියුණු කිරීමට ඔබේ නව අදහස් අපට Comment කරන්න.\n\n*මෙතැනට ගොස් ඔබේ අදහස කමෙන්ට් කරන්න : https://amdaniwasa.com/index-si.html#comments*\n\n```- Queen Amdi Project Team -```",
"verify":"✅ Successfully verified!",
"road":"amdaniwasacom5652"
},
"status":"200",
"announcement_owner":"BlackAmda",
"announcement_time":"GMT+3",
@BlackAmda
BlackAmda / android.sh
Last active April 11, 2023 01:10
Queen Amdi Termux
RED='\033[0;31m'
GREEN='\033[1;32m'
CYAN='\033[1;36m'
PURPLE='\033[0;35m'
NC='\033[0m'
printf "${GREEN}╔╗─╔╗────╔╗──╔╗\n║║─║║────║║─╔╝╚╗\n║║─║╠══╦═╝╠═╩╗╔╬╦═╗╔══╗\n║║─║║╔╗║╔╗║╔╗║║╠╣╔╗╣╔╗║\n║╚═╝║╚╝║╚╝║╔╗║╚╣║║║║╚╝║\n╚═══╣╔═╩══╩╝╚╩═╩╩╝╚╩═╗║\n────║║─────────────╔═╝║\n────╚╝─────────────╚══╝\n╔═══╗─────╔╗\n║╔═╗║─────║║\n║╚═╝╠══╦══╣║╔╦══╦══╦══╦══╗\n║╔══╣╔╗║╔═╣╚╝╣╔╗║╔╗║║═╣══╣\n║║──║╔╗║╚═╣╔╗╣╔╗║╚╝║║═╬══║\n╚╝──╚╝╚╩══╩╝╚╩╝╚╩═╗╠══╩══╝\n────────────────╔═╝║\n────────────────╚══╝\n\n"
apt update && apt upgrade
pkg upgrade -q -y
apt install nodejs --fix-missing -qq -y
pkg install git -qq -y
@BlackAmda
BlackAmda / example_baileys.js
Created January 23, 2023 06:28
This is a JavaScript example source code of baileys repo example.ts code(https://github.com/adiwajshing/Baileys/blob/master/Example/example.ts).
const { Boom } = require('@hapi/boom')
const { default: makeWASocket, delay, DisconnectReason, fetchLatestBaileysVersion, isJidBroadcast, makeCacheableSignalKeyStore, makeInMemoryStore, useMultiFileAuthState } = require('@adiwajshing/baileys')
const P = require("pino");
let MAIN_LOGGER = P({ timestamp: () => `,"time":"${new Date().toJSON()}"` });
const logger = MAIN_LOGGER.child({});
logger.level = 'trace'
const useStore = !process.argv.includes('--no-store')
const doReplies = !process.argv.includes('--no-reply')