Comments (2)
Good idea ๐ . Especially now we want to change it so it doesn't conflict with NightBot
@garretcharp did this in his PR https://github.com/eddiejaoude/EddieBot/pull/39/files#diff-7e82dc7533620e594f349d3ea425b5b4R4 which is now merged into develop
from eddiebot.
We could take this opportunity to change the code that "hardcodes" that !
prefix, like:
.addField('!help', 'Lists available commands', true)
.addField('!coc', 'Code of Conduct', true)
to
.addField(`${prefix}help`, 'Lists available commands', true)
.addField(`${prefix}coc`, 'Code of Conduct', true)
It's not as pretty ๐
, but we can easily change the prefix in only one spot, instead of searching for all occurrences of !
. In order to have it in only one place, we could also export this constant on the commands
file, instead of being a local variable. That way it can be used all across the application (e.g. chatty.ts
).
from eddiebot.
Related Issues (20)
- [FEATURE] Configuration Commands HOT 2
- [request to join the open source community] HOT 2
- [OTHER] migrate custom word checker
- [OTHER] save warnings to database
- [FEAT] Save stats to the DB
- Remove The Word "Just" from moderation HOT 5
- [DOCS] fix typo in README.md
- [FEATURE] Allow the word invalid HOT 2
- [FEATURE] Unblock tinker HOT 1
- [FEATURE] Add Kubescape file
- [FEATURE] <adding master to the list of trigger words> HOT 3
- [FEATURE] <allow the word Black> HOT 3
- {FEATURE REQUEST} Allow the names โThe Lion Kingโ& โWomen Who Codeโ HOT 3
- [FEATURE] Improve notifications by context checking
- [OTHER] screenshot in readme
- Please invite me to the Github Community Organization HOT 1
- [FEATURE] <to handle messaging multiple channels in a server>
- [FEATURE] Warn users who upload images without alt text HOT 4
- "Disabled" sensitivity prompt is incorrect HOT 5
- [BUG] Can't find duplicate letter words HOT 8
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 eddiebot.