Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaweesha #1

Open
wants to merge 103 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
c8c5e68
Update config.js
May 18, 2021
6c8c503
Now You Can Customize Your Alive Logo & Alive Message In Your Style 🥳🥳
May 18, 2021
e30e8f6
Update system_stats.js
May 18, 2021
71bdeca
Update app.json
May 18, 2021
eac98aa
Add files via upload
May 18, 2021
f46db3d
Add files via upload
May 18, 2021
56012d5
Update bot.js
May 18, 2021
3a29b5b
Fixed some bugs!! 😈
May 18, 2021
b3e4461
Update system_stats.js
May 19, 2021
c30731a
Update instagram.js
May 19, 2021
ad7dd29
Update helpers.js
May 19, 2021
39ff978
Update instagram.js
May 19, 2021
7640e99
Delete instagram.js
May 20, 2021
fb3a576
Create downloader.js
May 20, 2021
7eeb992
Update downloader.js
May 20, 2021
d2a20fe
Update config.js
May 20, 2021
31d3466
Create quote.js
May 20, 2021
ddd64cd
Create instagram.js
May 20, 2021
2316198
Update app.json
May 20, 2021
156d9da
Update README.md
May 20, 2021
d8e5417
Update README.md
May 20, 2021
e2a1fbc
Update README.md
May 20, 2021
3826a52
🔒 Closed Lydia 🔒
May 21, 2021
b01fa8e
Added New Command 🥳🥳
May 21, 2021
102e635
Update README.md
May 21, 2021
4d662b9
Added Processing Sentance 🥳✅️
May 21, 2021
9b95b5a
SPDF no more private 👋❗️
May 21, 2021
3ab4389
New Command Added 🥳🥳
May 21, 2021
fa9a43a
Update ആക്കണം എന്നില്ല 😐 ഒന്നും new ആയി വന്നിട്ടില്ല 🤣
May 22, 2021
532eac4
👆
May 22, 2021
0857a17
❗️New Alive Message ❗️
May 22, 2021
68d8380
❗️❗️
May 22, 2021
6b7c4b6
❗️❗️❗️New Alive Message ❗️❗️❗️
May 22, 2021
1c010e2
Adder Replit 🥳
May 22, 2021
f05899c
Added Replit 🥳
May 22, 2021
f712f85
New Replit added ✅️
May 22, 2021
077f947
❗️❗️New Alive Message is here❗️❗️ WaterMark Removed Or Not? 🤔 Update …
May 28, 2021
406cb02
Update system_stats.js
May 28, 2021
f8caa40
❗️❗️New Alive Message Is Here ❗️❗️
May 29, 2021
715a99b
Update README.md
May 29, 2021
9815821
Added Git Views 😊
May 29, 2021
694cdc3
Update README.md
May 29, 2021
77128ae
Update README.md
May 29, 2021
e9973f9
Update README.md
May 29, 2021
39f125b
Update README.md
May 29, 2021
374a6dd
Update README.md
May 29, 2021
725be9e
Voicy Command Lifted Off!! 𓂸 🚀
May 30, 2021
011d533
❗️❗️Mega Update Coming soon... ❗️❗️
Jun 2, 2021
88738b4
A Happy News 🥳 Due To Users Request, We Have Removed Our Number Which…
Jun 2, 2021
315b208
Create xmedia.js
Jun 5, 2021
55d5e1b
Added xmedia commands 🥳🥳 Enjoy with xmedia 🤣
Jun 5, 2021
0618e65
Delete xmedia.js
Jun 5, 2021
b9fa52d
You Can Welcome & Goodbye With Gif 🥳
Jun 7, 2021
a36dfce
Added New Command XMedia 🥳
Jun 7, 2021
9a9c14b
Xmedia command is now avalable on Plugins
Jun 7, 2021
9cd0181
Xmedia Coming soon..
Jun 7, 2021
bbc3266
X media is back 🥳🥳
Jun 7, 2021
a1f7fc7
Update XMedia.js
Jun 7, 2021
637a68f
Update XMedia.js
Jun 7, 2021
dc308ca
Added English Language for Deploys
Jun 9, 2021
11cae15
Xmedia Bug Fixed.. Will Be Available Soon...
Jun 13, 2021
a955389
New Effective images added [ 5 ]
Jun 13, 2021
ae9f8fa
Sad text command is here 😽
Jun 13, 2021
fc7bbfd
Update XMedia.js
Jun 13, 2021
3ba8afe
Xmedia beno 😌
Jun 13, 2021
d405cf4
Poll for Xmedia : Wa.me/94768826133
Jun 13, 2021
29fe583
Update README.md
Jun 14, 2021
58485e1
Update README.md
Jun 14, 2021
5fb7111
Unaudio is no more private 😽😽
Jun 14, 2021
f89e956
No More Voicy Command ✋️
Jun 14, 2021
fb7bd0f
No More Lydia Command ✋️
Jun 14, 2021
f129e87
TTA Command Lifted Off 🙅‍♂️
Jun 14, 2021
c6ffd6a
No More TTA Command 🚫
Jun 15, 2021
ac13171
Update XMedia.js
Jun 15, 2021
30f7a3d
New Web Version √ For Baileys ✅️
Jun 16, 2021
937eda7
✅️💯
Jun 19, 2021
bdbf3ff
🎯
Jun 19, 2021
3e7bf08
New Readme 😁
Jun 22, 2021
fc63110
New Readme 😁
Jun 22, 2021
db240e6
✅️ readme credits added
Jun 23, 2021
56e2e8e
New Urls ✅️
Jun 26, 2021
4633214
New Command is here!! 🥳🥳🥳 Song Finder! 🥳 Find Your song now 😍
Jun 27, 2021
9a1c1b3
Upgraded ⬆️ Song and video command fixed ✅️🥇
Jun 28, 2021
80c3134
Update Dockerfile
kaweeshachamodq Jun 30, 2021
407d7c7
Update Dockerfile
kaweeshachamodq Jun 30, 2021
35cf2c6
Update Dockerfile
kaweeshachamodq Jun 30, 2021
b535158
Update _asena.js
kaweeshachamodq Jul 1, 2021
dc0992b
Update _asena.js
kaweeshachamodq Jul 1, 2021
a7f82eb
Update EN.json
kaweeshachamodq Jul 1, 2021
d9587f4
Update downloader.js
kaweeshachamodq Jul 1, 2021
aef8800
Update simsimih.js
kaweeshachamodq Jul 1, 2021
a457c4f
Update memes.js
kaweeshachamodq Jul 1, 2021
f4707bc
Update README.md
kaweeshachamodq Jul 1, 2021
fd65760
Update README.md
kaweeshachamodq Jul 1, 2021
1541870
Update app.json
kaweeshachamodq Jul 1, 2021
fc8befb
Update system_stats.js
kaweeshachamodq Jul 1, 2021
514e4bc
Update config.js
kaweeshachamodq Jul 1, 2021
aaf9f63
Update app.json
kaweeshachamodq Jul 1, 2021
59a6ff6
Update app.json
kaweeshachamodq Jul 1, 2021
9a7d5e4
Update app.json
kaweeshachamodq Jul 1, 2021
51ed594
Update app.json
kaweeshachamodq Jul 1, 2021
e247d31
Update removebg.js
kaweeshachamodq Jul 1, 2021
a1d4262
Update effectimg.js
kaweeshachamodq Jul 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# These are supported funding model platforms

github: TOXIC-DEVIL
patreon: TOXIC-DEVIL
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
custom: ['https://github.com/TOXIC-DEVIL','https://github.com/TOXIC-DEVIL-ABHINAV'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
23 changes: 2 additions & 21 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributing to Thiccy
# Contributing to TOXIC-DEVIL

When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.
Expand Down Expand Up @@ -84,30 +84,11 @@ faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.


[Home Page](https://github.com/phaticusthiccy/WhatsAsenaDuplicated)

[Thiccy's Blog](https://phaticusthiccy.jimdofree.com)
[Home Page](https://github.com/TOXIC-DEVIL/WhatsAsenaPublic)

### Warning ⚠️

This project is open source. So you are responsible for the changes you make.
It is your responsibility to use these codes. We are not responsible for any bad things you make.

##

##### Sharing WhatsAsena on Social Medias

> Users Allowed

```json
{
"user_github": "https://github.com/dogubk",
"user_workmail": "[email protected]",
"user_publicmail": "[email protected]"
},
"user_permissions" {
"allow": ["share, usage, support"],
"unallow": ["write, commit"]
{
}
```
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM fusuf/whatsasena:latest

RUN git clone https://github.com/TOXIC-DEVIL/WhatsAsenaPublic /root/WhatsAsenaPublic
RUN git clone https://github.com/kaweeshachamodq/WhatsAsenaPublic /root/WhatsAsenaPublic
WORKDIR /root/WhatsAsenaPublic/
ENV TZ=Europe/Istanbul
RUN npm install supervisor -g
Expand Down
150 changes: 9 additions & 141 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,159 +1,27 @@
### Jump To

**■ To Know What is WhatsAsenaPublic, Just [Click Here](https://github.com/TOXIC-DEVIL/WhatsAsenaPublic#What-Is-WhatsAsenaPublic)**

**■ To Know Features of WhatsAsenaPublic, Just [Click Here](https://github.com/TOXIC-DEVIL/WhatsAsenaPublic#Features)**

**■ To Know WhatsNew Updated last in WhatsAsenaPublic, Just [Click Here](https://github.com/TOXIC-DEVIL/WhatsAsenaPublic#WhatsNew)**

**■ To Set Up WhatsAsenaPublic, Just [Click Here](https://github.com/TOXIC-DEVIL/WhatsAsenaPublic#How-To-Set-Up-WhatsAsenaPublic)**

### Special Thanks To:

[@Phaticusthiccy](https://github.com/Phaticusthiccy)

[@TOXIC-DEVIL](https://github.com/TOXIC-DEVIL)
**[@Phaticusthiccy](https://github.com/Phaticusthiccy)**

### What Is WhatsAsenaPublic
**[@TOXIC-DEVIL](https://github.com/TOXIC-DEVIL)**

**▪︎The [Public Version](https://github.com/TOXIC-DEVIL/WhatsAsenaPublic) Of [WhatsAsenaDuplicated](https://github.com/Phaticusthiccy/WhatsAsenaDuplicated) [ First Release which Deployed On Heroku ] 🐺**

**▪︎ You Have the All Rights To Re-Edit This Ropo**

**▪︎Made By [TOXIC DEVIL](https://github.com/TOXIC-DEVIL)**

**▪︎Added More Commands**

**▪︎Helper [Phaticusthiccy](https://github.com/Phaticusthiccy)**

### How To Set Up WhatsAsenaPublic

**¤ To Set Up WhatsAsenaPublic Just [Click Here](https://github.com/TOXIC-DEVIL/WhatsAsenaPublic#Simple-Method)**

```
Asena; Asena UserBot are names representing WhatsAsena software, they can be used interchangeably in the rest of the article.

WhatsAsena - Asena Userbot is Open Source software open to development.
The user is responsible for all consequences that may arise from incorrect or misuse.
Since it is an open source project, anyone can copy the software and make additions and deletions,
can use it in the way that it has customized. In addition, plugin support,
By installing the plug-ins written by the users into the original software, they can
It provides the feature to use them in a way.
Its use is entirely at the user's own risk.
Misuse of the bot will explicitly ban you.
Asena Userbot is just an infrastructure. How to install programs
If the operating system is not responsible for the work done,
WhatsAsena is also not responsible for the purpose and method of use of the users.
Marketing WhatsAsena for money, making it available or having any monetary value
It is strictly forbidden to offer it for sale with anything. From all legal investigations that may arise
the user is responsible.

WhatsAsena - Asena Userbot is Open Source software open to development.
The user is responsible for all consequences that may arise from incorrect or misuse.
Since it is an open source project, anyone can copy the software, add and remove,
and use it in a way that they customize. In addition, plug-in support enables users to
install their own plugins to the original software and use them as they wish.
Using the bot out of purpose will explicitly ban you.
Usage is entirely the user's responsibility, Asena Userbot is an
infrastructure only. Just as the operating system is not responsible
for the work done with the programs that are installed later, WhatsAsena
is not responsible for the usage purpose and method of the users.
Marketing WhatsAsena for money, making it available or having any material value
It is strictly forbidden to offer it for sale with anything. All legal investigations that may arise
the user is responsible.
```

<div align = "center">
<img src = "https://i.ibb.co/9H56Ct5/20210305-083215.jpg" width = "200" height = "200">
<h1> 🐺 WhatsAsenaPublic </h1>
</div>
<p align = "center">
WhatsAsenaPublic - Made By Toxic Devil.
<br>

### Simple Method

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/TOXIC-DEVIL/WhatsAsenaPublic)
**▪︎ Made By [TOXIC DEVIL](https://github.com/TOXIC-DEVIL)**

### The Hard Method
``` js
$ git clone https://github.com/TOXIC-DEVIL/WhatsAsenaPublic.git
$ cd WhatsAsenaPublic
$ npm i @adiwajshing/baileys
$ npm i chalk
$ node qr.js
```

##

### WhatsNew

```
.notes = Fixed notes ✅🛠
## Developer

```
| [![TOXIC DEVIL](https://github.com/TOXIC-DEVIL.png?size=100)](https://github.com/TOXIC-DEVIL) |
|----|
| [TOXIC-DEVIL](https://github.com/TOXIC-DEVIL) |
| Re-Developer, Base, Bug Fixes, Modules |

### Features

| All Features 📢 | Available ☑️ | Version 🔎 |
| ------------- | ------------ | ---------- |
| Admin Commands | ✅ | 1.0 |
| AFK | ✅ | 1.2 |
| AI Scanner | ✅ | 1.1 |
| Add & Kick User | ✅ | 1.0 |
| Carbon.sh Plugin | ✅ | 1.4 |
| Deep AI APIs | ✅ | 1.0
| Ban & Unban User | ✅ | 1.0 |
| FFMPEG Support | ✅ | 1.6 |
| Filter Support | ✅ | 1.2 |
| Greetings Support | ✅ | 1.2 |
| Group Link Generator | ✅ | 1.0 |
| Heroku Plugin | ✅ | 1.5 |
| Jid Scraper | ✅ | 1.0 |
| Location Plugin | ✅ | 1.0 |
| Lydia | ✅ | 1.2 |
| Music Downloader | ✅ | 1.2 |
| Meme Maker | ✅ | 1.0 |
| Mute & Unmute Chat | ✅ | 1.3 |
| Nekobin Plugin | ❌ | 1.0 |
| OCR Plugin | ✅ | 1.2 |
| Plugin Support | ✅ | 1.0 |
| Pre-Trained Effects | ✅ | 3.2 |
| Promote & Demote User | ✅ | 1.1 |
| Remove BG Plugin | ✅ | 1.0 |
| Youtube Downloader | ✅ | 1.2 |
| Scam Actions | ✅ | 1.3 |
| Scrapers | ✅ | 1.5 |
| Spammer | ✅ | 1.4 |
| Speedtest | 🛠️ | 1.6 |
| Sticker Maker | ✅ | 1.0 |
| Tagall | ✅ | 1.0 |
| Google TTS | ✅ | 1.6 |
| Unvoice | ✅ | 1.3 |
| Web Screenshot Plugin | ✅ | 1.5 |
| Wallpaper Plugin | ✅ | 1.4 |
| randanime Plugin | ✅ | 1.6 |
| nekoanime Plugin | ✅ | 1.6 |
| Dice Game | ✅ | 1.6 |
| Mood Game | ✅ | 1.6 |
| effectimg Plugin | ✅ | 1.6 |
| Glitch Plugin | ✅ | 1.6 |
| UnderWater Plugin | ✅ | 1.6 |
| Flower Plugin | ✅ | 1.6 |
| Shadow Plugin | ✅ | 1.6 |
| candy Plugin | ✅ | 1.6 |
| Latte Plugin | ✅ | 1.6 |
| Wood Plugin | ✅ | 1.6 |
| 8bit Plugin | ✅ | 1.6 |
| Harry Potter Plugin | ✅ | 1.6 |
| Sparkling Plugin | ✅ | 1.6 |
| WaterColour Plugin | ✅ | 1.6 |
| Ninja Logo Plugin | ✅ | 1.6 |
| NeonLight Plugin | ✅ | 1.6 |
| 3dtext Plugin | ✅ | 1.6 |
| burn Plugin | ✅ | 1.6 |

## Plugin Descriptions
## Plugin Descriptions.

| Command 💻 | Description ℹ️ |
| ---------- | -------------------- |
Expand Down
43 changes: 17 additions & 26 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
{
"name": "WhatsAsenaPublic",
"description": "WhatsAsenaPublic - Made By TOXIC DEVIL.",
"logo": "https://i.ibb.co/9H56Ct5/20210305-083215.jpg",
"keywords": ["whatsapp", "userbot", "Asena", "WhatsAsena", "bot", "api", "ai"],
"repository": "https://github.com/TOXIC-DEVIL/WhatsAsenaPublic",
"name": "𝕂𝔸𝕎𝔼𝔼𝕊ℍ𝔸❤️⃝➤⃟̱̱̱̱̄̄̄̄ˢᵐᵃʳᵗ ᵇᵒᵗ🔥",
"description": "𝕂𝔸𝕎𝔼𝔼𝕊ℍ𝔸❤️⃝➤⃟̱̱̱̱̄̄̄̄ˢᵐᵃʳᵗ ᵇᵒᵗ🔥- thanks for @TOXIC DEVIL.",
"logo": "https://telegra.ph/file/af526da6fe86231251273.jpg",
"keywords": ["whatsapp", "userbot", "Asena", "WhatsAsena", "bot", "api", "ai", "❤️⃝➤⃟̱̱̱̱̄̄̄̄ˢᵐᵃʳᵗ ᵇᵒᵗ🔥"],
"repository": "https://github.com/kaweeshachamodq/WhatsAsenaPublic",
"website": "https://t.me/phaticusthiccy",
"success_url": "https://t.me/AsenaSupport",
"stack": "container",
"env": {
"ASENA_SESSION": {
"description": "Qr.Js ile oluşturduğunuz özel session kodu. Type here yours Asena Session.",
"description": "Type here yours Asena Session [ Paste The Code Starting With Asena;;; ].",
"required": true
},
"SUDO": {
"description": "Leave blank if you don't know how to use it! Sudo mode; Your number must be an international number. So you should have your number after the country code. Example: 1205xxxxxxxxx (USA number +1)",
"description": "Please Type ,0,94xxxx if the owner number is sri lanka just replace xxxx to your number without +94.",
"required": false
},
"LANGUAGE": {
"description": "Bot language. Azerice => az, English => en, Türkçe => tr, Malayalam => ml, Hindi => HI, Indonesia => ID, Español => ES",
"description": "Bot language. English => en [ Only English Language Available ]",
"required": true,
"value": "EN"
},
"HANDLERS": {
"description": "Komutlar için. For commands.",
"description": "Prefix For commands [ You Can Type Any Symbol Here ].",
"required": true,
"value": "^[.]"
},
Expand All @@ -44,22 +44,13 @@
"description": "Düzenlenebilir Mute Mesajı. Customizable Mute Message! Use => default, to change back.",
"required": false,
"value": "default"
},
"BLOCK_CHAT": {
"description": "Choose in which chat the bot won't work there. Ex: 905xxxx && 905xxxx-1xxx or 905xxxx,905xxx...",
"required": false,
"value": "false"

},
"UNMUTE_MESSAGE": {
"description": "Düzenlenebilir Unmute Mesajı. Customizable Unmute Message! Use => default, to change back.",
"required": false,
"value": "default"
},
"WORK_TYPE": {
"description": "WhatsAsena Working Type. If you use “public”, everyone can use the bot. Else if you use “private”, only you can use your bot.",
"required": true,
"value": "public"
},
"HEROKU_APP_NAME": {
"description": "Herokuda uygulama adı. Heroku APP Name.",
"required": true
Expand Down Expand Up @@ -93,25 +84,25 @@
"required": false,
"value": "default"
},
"ALIVE_MESSAGE": {
"description": "Customizable Alive Message! Use => default, to change back.",
"required": false,
"value": "default"
},
"AFK_MESSAGE": {
"description": "Customizable AFK Message! Use => default, to change back.",
"required": false,
"value": "default"
},
"GAN_IMAGE": {
"description": "Gan Style eklentisi için resim bağlantısı yazın. Type image link for Gan Style plugin.",
"description": "Type image link for Gan Style plugin.",
"required": true,
"value": "https://i.hizliresim.com/loUtAb.jpg"
},
"NO_ONLINE": {
"description": "Çevrimiçi görünmek istemiyorsanız true yazın. Type true if you don't want to appear online.",
"description": "Type true if you don't want to appear online.",
"required": false,
"value": "false"
},
"COFFEEHOUSE_API_KEY": {
"description": "CoffeeHouse API Key. Need for Lydia. https://coffeehouse.intellivoid.net/",
"required": false,
"value": "https://coffeehouse.intellivoid.net/"
}
},
"addons": [{
Expand Down
10 changes: 5 additions & 5 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ async function whatsAsena () {

const conn = new WAConnection();
const Session = new StringSession();
conn.version = [2, 2119, 6]

conn.logger.level = config.DEBUG ? 'debug' : 'warn';
var nodb;
Expand Down Expand Up @@ -256,18 +257,17 @@ ${chalk.blue.italic('ℹ️ Connecting to WhatsApp... Please Wait.')}`);
}

if (msg.messageStubType === 32 || msg.messageStubType === 28) {
// Görüşürüz Mesajı
// see you message
var gb = await getMessage(msg.key.remoteJid, 'goodbye');
if (gb !== false) {

await conn.sendMessage(msg.key.remoteJid, gb.message, MessageType.text);
await conn.sendMessage(msg.key.remoteJid, fs.readFileSync("/root/WhatsAsenaPublic/media/gif/VID-20210518-WA0060.mp4"), MessageType.video, {mimetype: Mimetype.gif, caption: gb.message});
}
return;
} else if (msg.messageStubType === 27 || msg.messageStubType === 31) {
// Hoşgeldin Mesajı
// Welcome message
var gb = await getMessage(msg.key.remoteJid);
if (gb !== false) {
await conn.sendMessage(msg.key.remoteJid, gb.message, MessageType.text);
await conn.sendMessage(msg.key.remoteJid, fs.readFileSync("/root/WhatsAsenaPublic/media/gif/VID-20210518-WA0059.mp4"), MessageType.video, {mimetype: Mimetype.gif, caption: gb.message});
}
return;
}
Expand Down
5 changes: 3 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ DATABASE_URL = process.env.DATABASE_URL === undefined ? './whatsasena.db' : proc
DEBUG = process.env.DEBUG === undefined ? false : convertToBool(process.env.DEBUG);

module.exports = {
VERSION: 'v0.16.8 Public Stable',
VERSION: 'v 1.3.2 Globle',
SESSION: process.env.ASENA_SESSION === undefined ? '' : process.env.ASENA_SESSION,
GANSTYLE: process.env.GAN_IMAGE === undefined ? 'https://i.hizliresim.com/loUtAb.jpg' : process.env.GAN_IMAGE,
LANG: process.env.LANGUAGE === undefined ? 'TR' : process.env.LANGUAGE.toUpperCase(),
ALIVEMSG: process.env.ALIVE_MESSAGE === undefined ? 'default' : process.env.ALIVE_MESSAGE,
ALIVE_LOGO: process.env.ALIVE_LOGO === undefined ? 'https://telegra.ph/file/af526da6fe86231251273.jpg' : process.env.ALIVE_LOGO,
KICKMEMSG: process.env.KICKME_MESSAGE === undefined ? 'default' : process.env.KICKME_MESSAGE,
MUTEMSG: process.env.MUTE_MESSAGE === undefined ? 'default' : process.env.MUTE_MESSAGE,
UNMUTEMSG: process.env.UNMUTE_MESSAGE === undefined ? 'default' : process.env.UNMUTE_MESSAGE,
WORKTYPE: process.env.WORK_TYPE === undefined ? 'private' : process.env.WORK_TYPE,
WORKTYPE: process.env.WORK_TYPE === undefined ? 'public' : process.env.WORK_TYPE,
PROMOTEMSG: process.env.PROMOTE_MESSAGE === undefined ? 'default' : process.env.PROMOTE_MESSAGE,
DEMOTEMSG: process.env.DEMOTE_MESSAGE === undefined ? 'default' : process.env.DEMOTE_MESSAGE,
BANMSG: process.env.BAN_MESSAGE === undefined ? 'default' : process.env.BAN_MESSAGE,
Expand Down
8 changes: 4 additions & 4 deletions helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
*/

function successfullMessage(msg) {
return "✅ *WhatsAsena*: ```" + msg + "```"
return "✅ *WhatsAsenaPublic*: ```" + msg + "```"
}
function errorMessage(msg) {
return "🛑 *WhatsAsena*: ```" + msg + "```"
return "🛑 *WhatsAsenaPublic*: ```" + msg + "```"
}
function infoMessage(msg) {
return "⏺️ *WhatsAsena*: ```" + msg + "```"
return "⏺️ *WhatsAsenaPublic*: ```" + msg + "```"
}


module.exports = {
successfullMessage,
errorMessage,
infoMessage
}
}
Loading