Telegram Group & Telegram Channel
<?php

namespace SpidrX;

require 'vendor/autoload.php';

use Discord\Discord;
use Discord\Parts\User\Member;
use Discord\WebSockets\WebSocket;

// Replace with your bot token
$token = 'YOUR_BOT_TOKEN';

// Create a new Discord instance
$discord = new Discord([
    'token' => $token,
]);

// Register the femininity command
$discord->on('message', function (Message $message) use ($discord) {
    if ($message->content === '!femininity') {
        $femininity_test = new FemininityTest($message);
        $discord->loop->addPeriodicTimer(1, [$femininity_test, 'sendQuestion']);
    }
});

// Femininity test class
class FemininityTest
{
    private $message;
    private $questions;
    private $answers;
    private $female_questions;
    private $male_questions;
    private $female_points;
    private $male_points;
    private $current_question;

    public function __construct(Message $message)
    {
        $this->message = $message;
        $this->questions = [
            'أحب ارتداء الفساتين والتنانير أكثر من البناطيل.',
            'أفضل قضاء الوقت مع الأصدقاء على البقاء بمفردي.',
            'أهتم كثيرًا بمظهري.',
            'أجد صعوبة في قول "لا" للآخرين.',
            'أحب لمس الأشياء الناعمة والمريح.',
            'أشعر عادة بالتعاطف مع الآخرين.',
            'أحب مشاهدة الأفلام الرومانسية أكثر من أفلام الأكشن.',
            'أفضل التحدث عن المشاعر بدلاً من حل المشكلات.',
            'أحب طهي الطعام وتزيين المنزل.',
            'أشعر براحة أكبر عندما أكون محاطًا بأشخاص آخرين.',
        ];
        $this->answers = ['نعم', 'لا'];
        $this->female_questions = [2, 4, 6, 8, 10];
        $this->male_questions = [1, 3, 5, 7, 9];
        $this->female_points = 0;
        $this->male_points = 0;
        $this->current_question = 0;
    }

    public function sendQuestion()
    {
        if ($this->current_question < count($this->questions)) {
            $question = $this->questions[$this->current_question];
            $this->message->reply($question);
            $this->message->channel->awaitMessage(function (Message $message) {
                return $message->author->id === $this->message->author->id;
            }, [
                'timeout' => 60
            ])->then(function (Message $message) {
                $this->handleAnswer($message->content);
            });
            $this->current_question++;
        } else {
            $femininity_percentage = $this->calculateFemininity();
            $this->message->reply("نسبه الانوثة لديك هي: {$femininity_percentage}%");
        }
    }

    private function handleAnswer($answer)
    {
        if (in_array($answer, $this->answers)) {
            if ($answer === 'نعم') {
                if (in_array($this->current_question, $this->female_questions)) {
                    $this->female_points++;
                } else {
                    $this->male_points++;
                }
            } else {
                if (in_array($this->current_question, $this->male_questions)) {
                    $this->male_points++;
                } else {
                    $this->female_points++;
                }
            }
        } else {
            $this->message->reply('إجابة غير صحيحة. يرجى الإجابة بنعم أو لا.');
        }
    }

    private function calculateFemininity()
    {
        return ($this->female_points / ($this->female_points + $this->male_points)) * 100;
    }
}

// Start the Discord bot
$discord->run();


بوت اختبار نسبه الانوثه يعطيك اسئله وانت تجاوب وبعدين حدد نسبه انوثتك
بلغه php 😂😂😂



tg-me.com/SpidrX/2298
Create:
Last Update:

<?php

namespace SpidrX;

require 'vendor/autoload.php';

use Discord\Discord;
use Discord\Parts\User\Member;
use Discord\WebSockets\WebSocket;

// Replace with your bot token
$token = 'YOUR_BOT_TOKEN';

// Create a new Discord instance
$discord = new Discord([
    'token' => $token,
]);

// Register the femininity command
$discord->on('message', function (Message $message) use ($discord) {
    if ($message->content === '!femininity') {
        $femininity_test = new FemininityTest($message);
        $discord->loop->addPeriodicTimer(1, [$femininity_test, 'sendQuestion']);
    }
});

// Femininity test class
class FemininityTest
{
    private $message;
    private $questions;
    private $answers;
    private $female_questions;
    private $male_questions;
    private $female_points;
    private $male_points;
    private $current_question;

    public function __construct(Message $message)
    {
        $this->message = $message;
        $this->questions = [
            'أحب ارتداء الفساتين والتنانير أكثر من البناطيل.',
            'أفضل قضاء الوقت مع الأصدقاء على البقاء بمفردي.',
            'أهتم كثيرًا بمظهري.',
            'أجد صعوبة في قول "لا" للآخرين.',
            'أحب لمس الأشياء الناعمة والمريح.',
            'أشعر عادة بالتعاطف مع الآخرين.',
            'أحب مشاهدة الأفلام الرومانسية أكثر من أفلام الأكشن.',
            'أفضل التحدث عن المشاعر بدلاً من حل المشكلات.',
            'أحب طهي الطعام وتزيين المنزل.',
            'أشعر براحة أكبر عندما أكون محاطًا بأشخاص آخرين.',
        ];
        $this->answers = ['نعم', 'لا'];
        $this->female_questions = [2, 4, 6, 8, 10];
        $this->male_questions = [1, 3, 5, 7, 9];
        $this->female_points = 0;
        $this->male_points = 0;
        $this->current_question = 0;
    }

    public function sendQuestion()
    {
        if ($this->current_question < count($this->questions)) {
            $question = $this->questions[$this->current_question];
            $this->message->reply($question);
            $this->message->channel->awaitMessage(function (Message $message) {
                return $message->author->id === $this->message->author->id;
            }, [
                'timeout' => 60
            ])->then(function (Message $message) {
                $this->handleAnswer($message->content);
            });
            $this->current_question++;
        } else {
            $femininity_percentage = $this->calculateFemininity();
            $this->message->reply("نسبه الانوثة لديك هي: {$femininity_percentage}%");
        }
    }

    private function handleAnswer($answer)
    {
        if (in_array($answer, $this->answers)) {
            if ($answer === 'نعم') {
                if (in_array($this->current_question, $this->female_questions)) {
                    $this->female_points++;
                } else {
                    $this->male_points++;
                }
            } else {
                if (in_array($this->current_question, $this->male_questions)) {
                    $this->male_points++;
                } else {
                    $this->female_points++;
                }
            }
        } else {
            $this->message->reply('إجابة غير صحيحة. يرجى الإجابة بنعم أو لا.');
        }
    }

    private function calculateFemininity()
    {
        return ($this->female_points / ($this->female_points + $this->male_points)) * 100;
    }
}

// Start the Discord bot
$discord->run();


بوت اختبار نسبه الانوثه يعطيك اسئله وانت تجاوب وبعدين حدد نسبه انوثتك
بلغه php 😂😂😂

BY SPIDER-X


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/SpidrX/2298

View MORE
Open in Telegram


SPIDER X️ Telegram | DID YOU KNOW?

Date: |

Telegram hopes to raise $1bn with a convertible bond private placement

The super secure UAE-based Telegram messenger service, developed by Russian-born software icon Pavel Durov, is looking to raise $1bn through a bond placement to a limited number of investors from Russia, Europe, Asia and the Middle East, the Kommersant daily reported citing unnamed sources on February 18, 2021.The issue reportedly comprises exchange bonds that could be converted into equity in the messaging service that is currently 100% owned by Durov and his brother Nikolai.Kommersant reports that the price of the conversion would be at a 10% discount to a potential IPO should it happen within five years.The minimum bond placement is said to be set at $50mn, but could be lowered to $10mn. Five-year bonds could carry an annual coupon of 7-8%.

Look for Channels Online

You guessed it – the internet is your friend. A good place to start looking for Telegram channels is Reddit. This is one of the biggest sites on the internet, with millions of communities, including those from Telegram.Then, you can search one of the many dedicated websites for Telegram channel searching. One of them is telegram-group.com. This website has many categories and a really simple user interface. Another great site is telegram channels.me. It has even more channels than the previous one, and an even better user experience.These are just some of the many available websites. You can look them up online if you’re not satisfied with these two. All of these sites list only public channels. If you want to join a private channel, you’ll have to ask one of its members to invite you.

SPIDER X️ from tw


Telegram SPIDER-X
FROM USA