Skip to main content

Make A Simple Website For Your Discord Bot Without Any HTML Knowledge!

Project description

DiscordBotWeb

New Release Notes

  • Published 7/15/2021 (v0.0.1)

Features

  • Made With The Powerful Module, OS
  • No HTML Prior Knowledge Required
  • Made To Be Used With Flask

How It Works

  • import botweb
    • You Guys Should Know What This Does, It Imports The Module
  • botweb.web(name, description, link, filename)
    • This Is Where It Gets Tricky, Lets Break It Down, botweb.web() is the function itself, name, description, link, filename Are The Attributes For The Function.
      • The name Attribute Is For The Name Of Your Bot. Secondly, The description Attribute Is A Small Description Of Your Bot, Make Sure It Is Under 10 Words For A Clean Looking Website. Thirdly, The link Attribute Is For The Link Of Your Bot, The Link Will Be Used For The Invite Button. Lastly, The filename Attribute Is The Name That You Want Your HTML File To Be Named.

Example With Flask

  • Please Note That You Must Use Flask
from flask import Flask, render_template
import botweb

app = Flask(__name__)

@app.route("/")
def main():
   # Make Sure To Keep An Logo Of Your Bot In The Same Directory Of This Python File
   botweb.web("Bot Name", "Description Of Bot", "Invite Link", "index") # The Last Attribute Is The Name That You Want The HTML File To Be
   return render_template("index.html") # Make Sure It Is The Same Name As You Put In The Last Attribute When Calling botweb.web(), And Just Add The .html Extension.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DiscordBotWeb-0.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

DiscordBotWeb-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file DiscordBotWeb-0.0.1.tar.gz.

File metadata

  • Download URL: DiscordBotWeb-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for DiscordBotWeb-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c8bd6321e6cf427aabd221324840d17b34de134c8f6de2dff954170875a5744c
MD5 401fba905c175fd2e7f1622d41a82d47
BLAKE2b-256 78b4a9b49ed41376b1f08a1652e6a85575348c2d14bc3859647e2b67d6a13748

See more details on using hashes here.

File details

Details for the file DiscordBotWeb-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: DiscordBotWeb-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

File hashes

Hashes for DiscordBotWeb-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbea364c0aac0260c1c218359c8322661e82b3c6e38c749178febb68ff7bcd31
MD5 27c74a571074f838adf6833b154b86f3
BLAKE2b-256 b8e30169d5b0c1866315547dabe5725af721b6e36382a98ff669283f8bf2ebb0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page