| ๐—ค๐˜‚๐—ฎ๐—ป๐˜ |

Discord ๋ด‡

| ๐—ค๐˜‚๐—ฎ๐—ป๐˜ |

์ด ๋ด‡ ๋“ฑ๋ก์€ ์†Œ์œ ๊ถŒ ์‹ ์ฒญ์„ ๊ธฐ๋‹ค๋ฆฌ๋Š” ์ค‘์ž…๋‹ˆ๋‹ค

ํ˜„์žฌ ์ด ๋ด‡์— ๊ด€๋ฆฌ์ž๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. ์†Œ์œ ์ž๋ผ๋ฉด ํด๋ ˆ์ž„ํ•˜์—ฌ ๋“ฑ๋ก์„ ํŽธ์ง‘ํ•˜๊ณ  ์†Œ์œ ๊ถŒ์„ ๊ฐ€์ ธ๊ฐ€์„ธ์š”.

์†Œ๊ฐœ

This bot gives you best music experience...

https://github.com/EmirhanEtem/Quant

Quant Bot

Quant Bot is a feature-rich, modular bot developed for Discord servers. It aims to make your server more interactive and manageable with features like moderation, music (YouTube & Spotify), AI integrations (text and image generation), a leveling/economy system, and various fun commands.

Discord

โœจ Key Features

  • ๐Ÿ›ก๏ธ Advanced Moderation: Warn and mute members, purge messages, make announcements, and detailed logging.
  • ๐ŸŽต Comprehensive Music System: Play songs/playlists from YouTube and Spotify, manage a queue, repeat songs, and more.
  • โœจ AI Integrations:
  • Smart chat with Google Gemini (/quant).
  • Generate images from text prompts using Stable Diffusion (/image).
  • ๐ŸŒŸ Leveling & Economy System:
  • Gain XP and level up by sending messages.
  • View your rank on the server leaderboard (/leaderboard).
  • A virtual economy with daily rewards, money transfers, and betting games (/daily, /pay, /battle).
  • ๐ŸŽ‰ Fun & Games:
  • Interactive games like Blackjack (/blackjack) and betting-based Battles (/battle).
  • Classic fun commands like polls, dice rolls, coin flips, and a "find the difference" game.
  • ๐Ÿ› ๏ธ Utility Commands: User/server info, avatar display, translation, Steam price lookup, and more.
  • โš™๏ธ Server-Specific Settings: Ability to set custom channels for welcome/goodbye messages.

๐Ÿš€ Installation and Setup

Follow these steps to run this bot on your own server.

1. Prerequisites
  • Python 3.8 or higher
  • A Discord Bot Account
  • Necessary API Keys (Google, HuggingFace, Spotify)
2. Installation
  1. Clone the Repository:
git clone https://github.com/user/quant-bot.git
cd quant-bot
  1. Install Dependencies:

If the project does not include a requirements.txt file, install the libraries manually with the following commands:

pip install discord.py google-generativeai requests beautifulsoup4 yt-dlp spotipy pyfiglet googletrans==4.0.0-rc1
pip install pynacl
  1. Configuration (API Keys & Tokens):

Fill in the variables at the top of the code file with your own information, or set them up as environment variables in a .env file.

  • DISCORD_BOT_TOKEN: Your bot token from the Discord Developer Portal.
  • GENAI_API_KEY: Your Gemini API key from Google AI Studio.
  • HF_TOKEN: Your API token with read permissions from HuggingFace.
  • SPOTIPY_CLIENT_ID: Your Client ID from the Spotify Developer Dashboard.
  • SPOTIPY_CLIENT_SECRET: Your Client Secret from the Spotify Developer Dashboard.
  • SPOTIPY_REDIRECT_URI: The redirect URI you specified in your Spotify app (e.g., http://localhost:8888/callback).
  • LOG_CHANNEL_ID: The ID of the Discord text channel where moderation logs will be sent.
  1. Discord Developer Portal Settings:
  • Navigate to the Privileged Gateway Intents section in your bot's settings.
  • Enable both SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT. These are required for the bot to access member information and message content.
  1. Run the Bot:
python Quant_git.py

๐Ÿ“ Command List

The bot operates using slash commands (/). Here is a list of the main commands:

| Category | Command | Description |
|-----------------|---------------------|---------------------------------------------------------------|
| Moderation | /warn | Warns a member with a specified reason. |
| | /warnings | Lists a member's warnings. |
| | /mute | Mutes a member for a specified duration. |
| | /unmute | Unmutes a member. |
| | /sil (purge) | Deletes a specified number of messages (1-100). |
| | /duyuru (announce)| Sends an embedded announcement to a specified channel. |
| Level | /rank | Shows your level and XP information. |
| | /leaderboard | Displays the server's level leaderboard. |
| | /daily | Claims your daily Quant reward. |
| | /balance | Shows your Quant balance. |
| | /pay | Sends Quant to another member. |
| Music | /play | Plays or queues a song (YouTube/Spotify). |
| | /stop | Stops the music and disconnects from the voice channel. |
| | /skip | Skips the currently playing song. |
| | /skipall | Skips all repeats of the current song. |
| | /playlist | Plays a playlist from your linked Spotify account. |
| | /spotify_login | Sends an authorization link to connect your Spotify account. |
| | /spotify_auth | Submits the authorization code from Spotify to the bot. |
| AI | /quant | Chats with the AI. |
| | /resim (image) | Generates an image from a text prompt. |
| Search/Info | /steam | Shows the Steam price of a game. |
| | /gsr, /ytsr | Searches on Google and YouTube. |
| | /havadurumu (weather) | Searches for the weather in a city. |
| Fun/Games | /8ball | Asks a question to the magic 8-ball. |
| | /roll, /flip | Rolls a die or flips a coin. |
| | /poll | Creates a simple poll. |
| | /game, /guess | Starts and makes a guess in the "find the difference" game. |
| | /battle | Engages in a betting-based battle against another member. |
| | /blackjack | Plays a game of betting-based Blackjack (21). |
| Utility | /userinfo | Displays detailed information about a member. |
| | /serverinfo | Displays detailed information about the server. |
| | /avatar | Shows a member's avatar. |
| | /translate | Translates text to a specified language. |
| | /ping, /saat (time) | Shows the bot's latency and the current time. |
| Settings | /settings welcome | Sets the welcome message channel. |
| | /settings goodbye | Sets the goodbye message channel. |

์–ธ์–ด

  • Tรผrkรงe
  • English

๋ฆฌ๋ทฐ

5 ยท 4 ๋ฆฌ๋ทฐ

์•„์ง ๋ฆฌ๋ทฐ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค โ€” ์ฒซ ๋ฒˆ์งธ๋กœ ๊ฒฝํ—˜์„ ๊ณต์œ ํ•ด ๋ณด์„ธ์š”.

ํˆฌํ‘œ ํ†ต๊ณ„

์ด ๊ฐ€์ด๋“œ์—์„œ ์ง€๋‚œ 30์ผ ๋™์•ˆ ๊ธฐ๋ก๋œ ์ˆ˜์น˜์˜ˆ์š”.

0 ์ด๋ฒˆ ๋‹ฌ ํˆฌํ‘œ
0 ๋ˆ„์  ํˆฌํ‘œ
0 ์ตœ๊ทผ 7์ผ
0 ๊ณ ์œ  ํˆฌํ‘œ์ž ยท 30์ผ

์ตœ๊ทผ 30์ผ

  • ํˆฌํ‘œ

์š”์ผ๋ณ„

์›”
ํ™”
์ˆ˜
๋ชฉ
๊ธˆ
ํ† 
์ผ
| ๐—ค๐˜‚๐—ฎ๐—ป๐˜ |
| ๐—ค๐˜‚๐—ฎ๐—ป๐˜ |
0๊ฐœ ์„œ๋ฒ„ ยท ์›” 0ํ‘œ
์ดˆ๋Œ€