Comments (8)
Comment from ByteCommander:
Sounds useful. If possible, it would probably be cool to extract that logic from the bot cog that handles the Python code message formatting suggestion embeds (whew, what a name - for code, see https://gitlab.com/python-discord/projects/bot/blob/master/bot/cogs/bot.py#L384) into a globally available helper function or decorator.
from bot.
Comment from Johannes Christ:
assigned to @jchristgit
from bot.
Comment from Johannes Christ:
mentioned in commit 723c0ac
from bot.
Comment from Johannes Christ:
mentioned in merge request !83
from bot.
Comment from Leon Sandøy:
mentioned in issue #89
from bot.
Comment from Joseph Banks:
mentioned in commit 03ff116
from bot.
Comment from Joseph Banks:
Added in 03ff116
from bot.
Comment from Joseph Banks:
closed
from bot.
Related Issues (20)
- Make `!pay` bring up Rule #9
- Move PEP link to title in pep command HOT 1
- AttributeError: 'DMChannel' object has no attribute 'mention' HOT 5
- Syntax error in `!dotenv` command HOT 1
- Turn `!raw` into a context menu command
- Allow using replies to `!raw` command
- `!src` command for tags results in 404. HOT 1
- I would like to add a `Big O Notation` tag
- Branding cog - RuntimeError: Failed to fetch file due to status: 503 HOT 1
- # Code to generate bot trading in FBS import fbs import time def bot_trading(): # Connect to FBS API fbs.connect() # Set trading parameters symbol = 'EURUSD' lot_size = 0.01 take_profit = 50 stop_loss = 30 # Get current price price = fbs.get_price(symbol) # Calculate target levels target_price = price + take_profit stop_price = price - stop_loss # Place buy order fbs.place_order(symbol, 'buy', lot_size, target_price, stop_price) # Wait for order to be filled time.sleep(5) # Close order fbs.close_order() # Disconnect from FBS API fbs.disconnect() # Run the bot trading function bot_trading()
- Projects HOT 1
- AttributeError: 'dict' object has no attribute 'id'
- Discord.gateway warning "Shard ID None heartbeat blocked for more than 10 seconds." HOT 1
- Snekbox's blocked file list goes over Discord's message length limit HOT 2
- Removal of Voice Verified role not logged when using `!tvmute` HOT 4
- Recognise `pyi` snippets as `py` snippets when sharing github/gitlab links HOT 2
- Revert to previous txt file deletion behavior
- Edit eval message instead of deleting and re-sending HOT 1
- Bot
- Update "unambiguous" converters given Discord username changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bot.