Skip to content

セルフボットでOTPコードを取得するHowHow

Notifications You must be signed in to change notification settings

yuffycord/DiscordOTP-SelfBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordOTP-SelfBot

Q.これは何ですか?
A.これはDiscord上でセルフボットを用いてOTPコードを取得するコードです!

使い方

1.リポジトリをクローンする

$ git clone https://github.com/yuffycord/DiscordOTP-SelfBot
$ cd DiscordOTP-SelfBot  

2.必要ライブラリのインストール

                 $ pip install git+https://github.com/voidpro-dev/discord.py-self.git
    $ pip install pyotp
        $ pip install python-dotenv  

もし、あなたがこのマークダウンにストレスを感じる場合 requirements.txtを使用可能です。

$                                                 pip install -r requirements.txt

3 .envファイルにOTPシークレットの追加

4.実行

$ python main.py

もしくは

$ pythonw main.py

Q.PythonとPythonwの違いはなんですか?

A.Pythonwはバックグラウンドでpythonプロセスを実行するためのツールです。
Windows上でホストする際におすすめです。
ただし、BOTを止めるにはタスクキル、Jishaku-Selfによるシャットダウンなどの方法のみとなります

Q.requirements.txtがないってエラーでます

A.よく見ましょう。本当にrequirements.txtなんてファイルはあるんか?

注意事項

セルフボットはDiscordの規約違反です
ちゃんとperm設定しないと垢が飛ぶぞ!

About

セルフボットでOTPコードを取得するHowHow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages