Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Polsulpicien/discord.py-advanced-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

polsu logo

Discord Python Advanced Calculator

Discord Stars Version

[UPDATED!] An Advanced Calculator maybe with Discord Buttons in python

Introduction
Screenshots
Setup
License

Introduction

This was the first version of the calculator, made for my discord bot, Polsu using discord-components.

If you want to try the calculator or need help, join the support server
Please don't change the footer text of the embeds.
Don't forget to give a star if you like it :)

Screenshots

Screenshot ScreenShot ScreenShot

Setup

Step 1: Install libraires:
Install Discord-Components
pip install --upgrade discord-components
Install TagScriptEngine
pip install TagScriptEngine

Step 2: Choose if you want between the Main.py or the Cog.py

• For the Main.py File, you need to add your Discord Bot Token (which you can find HERE), to the last line:

client.run("TOKEN")

• For the Cog.py, you just need to add the file to your Bot's Cogs File. You will also have to add this line to your on_ready event: DiscordComponents(client), example:

@client.event
async def on_ready():
    DiscordComponents(client)

and of course, don't forget to import discord_components in your main file: from discord_components import DiscordComponents!

• Error:
If you get: 'Interaction Failed'
Make sure to have client = commands.Bot(command_prefix = "&", intents=discord.Intents.all()) (intents=discord.Intents.all()) in your main.py file!

Got another error ?
Join the support server

License

This project is under the MIT License.

About

This is an Advanced Calculator made with Discord Buttons in python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages