Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

📑 Bot updates news about IT and programming with Update every hour

NotificationsYou must be signed in to change notification settings

watchakorn-18k/bot-news-it-discord

Repository files navigation

My Workflow Run Bot

bot-news-it-discord

.env

TOKEN=<TOKEN_BOT>API_NEWS=<API newsapi.org>

Description

📑 Bot updates news about IT and programming with Update every hour

Getting Started

fenv clone https://github.com/<User Name Github>/bot-news-it-discord.gitcd bot-news-it-discord

Installation

cd bot-news-it-discord# create virtualenv auto namefenv onlyenv# install package in requirements.txtfenv install

Usage

📑 INVITE BOT TO YOUR SERVER

Tree

.└── bot-news-it-discord/        └──.git/        └──.github/        └──.vscode/                └──settings.json        └──env_bot-news-it-discord/                └── Lib/                └── Scripts                └── .gitignore                └── pyvenv.cfg        └──__pycache__/        └──.env        └──.gitignore        └──.tmp        └──main.py        └──news.py        └──readme.md        └──requirements.txt

Change Log

  • add translate with google translate in main.py
deftranslater(func):defwrapper(*args):returntranslator.translate(func(*args),dest="th").text"""                "th" can change your local language 👆🏻                """returnwrapper

Contributing

If you would like to contribute to the project, include a section on how to do so, including any guidelines and best practices


[8]ページ先頭

©2009-2025 Movatter.jp