README
🕋 MuslimBot
- إنها حزمة متكاملة تحتوي على العديد من الأوامر الدينية التي يمكنك القيام بها على الروبوت الخاص بك في ديسكورد
🚀 Getting Started
يمكنك البدء في تثبيت الحزمة على مشروعك:
npm i muslimbot@latest
يمكنك التحديث إلى إصدار أحدث لتلقي التحديثات
npm update muslimbot
⚒ Usage
const MuslimBot = require('muslimbot'),Discord = require('discord.js'),client = new Discord.Client(),
settings = new MuslimBot({ botPrefix: '#',botClient: client });
client.on('message', message => {
if(message.content.startsWith(settings.prefix)) {
settings.onMessage(message);
};
});
client.login('Your Token Bot')
⚡ Basic settings
botPrefix
The prefix for your bot that you will use with commandsbotClient
Your client name in discord jsembedsColor
If you want to change the color in the embed messageshideHelp
This value expresses the help command, and you can set it true or falsefawazeerText
If you want to bot send the fawazeer in text, not an image
const MuslimBot = require('./options.js'),Discord = require('discord.js'),client = new Discord.Client(),settings = new MuslimBot({
botPrefix: '#',
botClient: client,
// fawazeerText: true, If you want to bot send the fawazeer in text, not an image
// hideCmdHelp: true, This value expresses the help command, and you can set it true or false
// embedsColor: `PURPLE`, If you want to change the color in the embed messages
});
quranChanged
In order to be able to change the shape of the Koran that appears to you in the ms7f command- Example
const MuslimBot = require('./options.js'),Discord = require('discord.js'),client = new Discord.Client(),settings = new MuslimBot({
botPrefix: '#',
botClient: client,
quranChanged: `1`,//You can write from 1 to 4 available shapes
});
💡 If you want to bot send Fawazeer for every period that you specify in a specific channel in your server
client.on('ready', ready => {
settings.channelFawazeer(`830514644829339688`)//Type the channel ID you want
//settings.channelFawazeer(`830514644829339688`, 15) Write the time you want, knowing that it is calculated by the minute
})
Notes!
Here is an example for him to send it within 15 minutes and if you don't type a number in this value, it will send it every half hour
If you want to change the image of the fawazeer
- Example
const MuslimBot = require('./options.js'),Discord = require('discord.js'),client = new Discord.Client(),settings = new MuslimBot({
botPrefix: '#',
botClient: client,
fawazeerImageUrl: 'https://www4.0zz0.com/2021/04/11/12/723634904.png',//The image link you want to make the wallpaper
//fawazeerColorText: 'RED', If you want to change the text color in image
});
✨ If you want to bot send azkar for every period that you specify in a specific channel in your server
client.on('ready', ready => {
settings.channelAzkar(`830514644829339688`)//Type the channel ID you want
//settings.channelAzkar(`830514644829339688`, 15) Write the time you want, knowing that it is calculated by the minute
})
Notes!
Here is an example for him to send it within 15 minutes and if you don't type a number in this value, it will send it every half hour
🛡 If you want to add status
client.on('ready', ready => {
settings.botSetStatus(`Your Status`)
});
🔋 Full example
const MuslimBot = require('./options.js'),
Discord = require('discord.js'),
client = new Discord.Client(),
settings = new MuslimBot({
botPrefix: '#',
botClient: client,
});
client.on('ready', ready => {
//settings.channelAzkar(`830514644829339688`) If you want to bot send azkar for every period that you specify in a specific channel in your server
//settings.channelFawazeer(`830514644829339688`) If you want to bot send Fawazeer for every period that you specify in a specific channel in your server
settings.botSetStatus(`Your Status`)//If you want to add status
});
client.login('Your Token Bot')
⭐ Help Panel
fawazeer
Aliases:
فوازير
Description:
يقوم بأرسال فوازير شهر رمضان المبارك
ms7f
Aliases:
مصحف
Description:
لكي تتمكن من قراءة القرآن الكريم كاملاً بين 604 صفحات
azkar
Aliases:
اذكار
Description:
يرسل لك الأدعية والأذكار
quran
Aliases:
قران
Description:
لتشغيل القرآن الكريم في روم صوتي ويمكنك الاختيار بين شيوخ معينين
💖 Any Bug or Suggestion
- Contact With Me Discord:
Shuruhatik#0001
- or Discord Server ST Studio