Skip to content

3yal/ads-botfree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphinx Advert Bot

English Sphinx Advert Bot is an advertisment bot that allows people to advertise in your server easily and more importantly fast. It was originally made for my desires but now it's for the public.
  • Made in TS
  • Multiple admissions support, highly organized
  • Fast.

Installation Usage

$ git clone https://github.com/vrzc/ads-botfree.git
$ cd ads-botfree
$ npm i
$ npm i -g typescript
$ tsc
$ npm start

Doing Changes

When editing anything in this project you have to run tsc first to publish the updates from ts to js

$ tsc
$ npm start

Config File

config img

Managing Embeds

Most embeds are located in Event Folder if you want to edit any embed then please follow this usage.

Embed Interface

export interface Embed {
    title?: string,
    url?: string,
    author?: { name: string, icon_url?: string, url?: string},
    description?: string,
    thumbnail?: { url: string },
    fields?: [...{name: string, value: string}],
    image?: { url: string },
    timestamp?: (undefined | string),
    footer?: {text: string, icon_url?: string}
}

Usage

import {Embed} from "../types.d.ts";
let embed: Embed = {
    title: "Example Title",
    url: "Example URL",
    author: {name: "Example Name", icon_url: "url"}
    description: "Exmaple Description",
    thumbnail: {url: "URL"},
    fields: [{name: "Example name", value: "Example Value"}],
    image: {url: "Example URL"},
    timestamp: new Date().toISOString(),
    footer: {text: "Example Text", icon_url: "Example url"}
};
<I>.reply({embeds: [embed]})

Contributing

I want to make arabs as good as foriegns so the only way you can contribute to this project is by doing tutorials on my codes as i can't rlly do that

Arabic "Sphinx Advert Bot" هو بوت اعلانات مصمم خصيصا للعرب
  • مصنوع بلغة TS
  • مصمم لكي يستطيع ان يتحمل اكثر من 5 بلاغات فنفس الوقت
  • سريع

كيفيه التشغيل

$ git clone https://github.com/vrzc/ads-botfree.git
$ cd ads-botfree
$ npm i
$ npm i -g typescript
$ tsc
$ npm start

عندما يتم تغيير شيء

لما تغير اي شيء فالبروجكت لازم تحدثه لجافا سكربت

$ tsc
$ npm start

اعدادات البروجكت

config img

تغيير اي شيء فالأمبد

اغلب الأمبدز موجوده في Event Folder لو بدك تغير اي شيء عن الأمبد تقدر براحتك لكن تأكد انك تمشي علي الأوبجكت الأساسي

  • علامه ال ? معناه انك ما تحتاج تحطه

اوبجكت الأمبد

export interface Embed {
    title?: string,
    url?: string,
    author?: { name: string, icon_url?: string, url?: string},
    description?: string,
    thumbnail?: { url: string },
    fields?: [...{name: string, value: string}],
    image?: { url: string },
    timestamp?: (undefined | string),
    footer?: {text: string, icon_url?: string}
}

طريقه الأستعمال

import {Embed} from "../types.d.ts";
let embed: Embed = {
    title: "Example Title",
    url: "Example URL",
    author: {name: "Example Name", icon_url: "url"}
    description: "Exmaple Description",
    thumbnail: {url: "URL"},
    fields: [{name: "Example name", value: "Example Value"}],
    image: {url: "Example URL"},
    timestamp: new Date().toISOString(),
    footer: {text: "Example Text", icon_url: "Example url"}
};
<I>.reply({embeds: [embed]})

المساعده

لو بدك تساعدني فأني اكمل هاي المشاريع بدي ياك تسوي عنها فيديوهات عشان توصل للكل و الكال يستفيد, اي فيديو تنزله يريت تراسلني علي الديسكورد حقي 3yl

Handler

TS handler

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published