Comments (2)
It's expected behavior that the time can be matched anywhere in the string, however it might not be expected behavior to use the last time in the string. Currently, it loops over all the matches front to back, and overrides the assumed time with each valid match, meaning the last time entered will be chosen. It might make sense to break
on valid match, to ensure the first time entered is the one that is used.
Red-DiscordBot/redbot/cogs/mutes/converters.py
Lines 50 to 54 in 3fd0afd
from red-discordbot.
Related Issues (20)
- Greedy can mistake part of reason as a member in `unmute` HOT 5
- Permissions YAML validation incorrect feedback HOT 1
- [streams] add support for kick HOT 1
- [streams] Use of deprecated helix/users/follows endpoint HOT 1
- Add warning to [p]set api if <>s are included in secret
- [streams] Add Discord timestamp HOT 2
- Separate muteset senddm for mutes and unmutes
- [Mutes] activemutes command
- Switch lmgtfy to our own fork of NatoBoram/lmgtfy HOT 6
- ✧𝐌𝐨𝐫𝐠𝐮𝐞 𝐁𝐢𝐫𝐭𝐡𝐝𝐚𝐲 𝐁𝐨𝐭✧
- Slash commands do not inject guild locale information
- `streamalert list` is not updated for new Discord's markdown HOT 1
- Official stream cog does not work HOT 1
- A
- Mute a person who has left the server doesn't work.
- [Audio] Autoplay failure with User scope playlist HOT 3
- Add a start_dm option to SimpleMenu HOT 5
- Backup does not include list of repos
- [Config] Prevent registering defaults for inaccessible identifiers HOT 1
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 red-discordbot.