Comments (4)
I'm fine with that reasoning but maybe report that back as the error message rather than "user not found"
from sandpiper.
The code looks like it does a lookup by username, so maybe it just needs to strip the "@" at the beginning? I don't have the DB setup to test.
from sandpiper.
I actually deliberately decided against this while programming sandpiper because I don't want to encourage people pinging others for bot commands. It annoys me when other bots force you to do this. I'm open to discussion about it, though.
from sandpiper.
That sounds like a good solution! I didn't realize it did that.
from sandpiper.
Related Issues (20)
- Update README for 2.0.0
- Remove certifi
- Add support for Discord threads
- Fix unit tests for 2.0.0
- Optimize imports in all files
- Move __all__ above imports
- Add info about message content privileged intent in README
- Add CHANGELOG.md
- Update GitHub action for Poetry / Python 3.10
- Change default config file location and allow specification of config in module args
- Change default log directory
- A YML config in the module directory should raise an error and exit
- Add info about config location/format changes
- Make logging work before config is loaded HOT 1
- Migrate from bot to client
- Add info about new/removed command config fields
- Make unit tests work with client
- Fix birthdays not being scheduled
- Add timezone aliases
- Timezone autocomplete based on country
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 sandpiper.