61 Commits

Author SHA1 Message Date
δυς
32e33ecf95 tweaking Discord bot GraphQL codegen 🏔️ 2024-08-13 19:04:31 -04:00
δυς
8032949c2c allowing Discord bot to start w/o credentials 🏺 2024-08-13 19:04:31 -04:00
δυς
2118e92bad switching to package.json import munging from TypeScript paths 🥔 2024-08-13 19:04:31 -04:00
dysbulic
8b491dff29 almost running; need to check another branch 🎤 2024-08-13 19:04:31 -04:00
innkeep
2c516e66e2 adding Metamodernism playbook 2024-06-25 15:36:54 -04:00
innkeep
312d231c91 Deleted discourse forum mentions in discord bot config 2024-06-24 12:03:55 -04:00
innkeep
a69fafe49d Deleted forum mention in discord-bot config 2024-06-24 12:03:55 -04:00
δυς
5f8cae1aea Improving Leaderboard Loading Time
* removing BrightId *(unused)* and DAOHaus memberships *(loaded separately)* from `Player` retreival 🦷

* setting `max-width` on hamburger menu 🧾

* increasing shown DAOs, shunting remote schemas, & handling missing Discord token 🤐

* triggering recalc on element resize 🚲

* adding copy of ETH address on profile image click 🛹

* adding `@emotion/cache` to try and eliminate unstyled content render 

* cleaning up failed emotion cache experiment 🚓

* updating Ceramic & locking versions to beat a dependency conflict 🤲🏿
2023-01-31 16:44:01 -05:00
Alec LaLonde
fecccd6fd1 Fixed discord bot to run locally again 2022-11-29 15:03:28 -07:00
Alec LaLonde
1ee1e046ad Fix local dev in docker 2022-11-15 09:59:44 +01:00
δυς
9e37df6207 Update MyMeta to ECMAScript Modules + Switch to DID:PKH (#1429)
* beginning ESM transition: Ceramic libraries, Next.js, & TypeScript configuration 🇭🇰

* updating Chakra, React, & Next image `import`s 👔

* upgrading `@types/react`, import extensions for Node, & b64 SVG to PNG ⛹🏿‍♀️

* fixing relative import names & upddating @types packages 📻

* removoing WYSIWYG editor, draft-js, & updating express ⛹🏿‍♀️

* updating OpenSea 🚲

* ¡@metafam/utils is building! 📰

* ¡Discord bot is building! 👘

* ¡backend is building! 🛩

* fixed everything but Ceramic DID update 🏍

* switching to DID:PKH 📦

* fixing "only one child allowed" error 🙇🏿‍♀️

* importing `React` as required by tsc's `isolatedModules` 🇲🇰

* disabling testing rather than taking the time to fix jest ⚜

* removing set `types` from `tsconfig` to fix compilation error 🥦

* printing tests disabled warning, hopefully 🙀

* setting file to be copied to the new resolver 👁️‍🗨️

* "paths-resolver" not "paths-resolve" 🦴

* switching back to relative paths rather than trying to fix `paths` 

* `yarn backend:dev` not working, testing GitHub build 🎺

* removing design system build & fixing some images ✊🏿

* fixed "expected function got string" error & trying to address undefined HTMLElement 🐡

* fixing @emotion/react tree shaking by making external 🏏

* including eslint config in Dockerfile 🌾

* fixing more images 🎯

* updating DIDs & switching back to an updated DID:3 ❇

* switching to w3s.link gateway & fixing early termination of storage endpoint 🔭

* switching back to ipfs.io gateway b/c w3s.link serves SVGs as application/xml which are CORB blocked 🥾

* fixing node config name in eslint ignore & shortening some paths 🧰

* fixing ts-node not handling project references 🥁
2022-11-14 11:26:41 -05:00
Alec LaLonde
3d415e223b Compute show_discord_announcements flag based on given discord permissions 2022-07-05 21:01:30 -06:00
Alec LaLonde
fc099d3f9b Added suggestion from dysbulic 2022-06-08 21:40:52 -06:00
Alec LaLonde
83f8927212 Fixed parsing of discordId from sourcecred address 2022-06-08 21:40:52 -06:00
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
Alec LaLonde
45fed9aa62 Merge cleanup 2022-04-25 21:14:29 -06:00
Alec LaLonde
5a2baf553a Moved bot init code into bot.ts so that dependent packages aren't using it 2022-04-25 21:14:29 -06:00
Alec LaLonde
702b33c4c3 Got all commands running again 2022-04-25 21:14:29 -06:00
Alec LaLonde
5f96edd4ae Started migration to discordx 2022-04-25 21:14:29 -06:00
Michiel Quellhorst
f1e4902dd3 SC update on discord bot package (#1202)
* SC update on discord bot package

* Fix GithubStorage

* Bumped remaining sourcecred references to 0.10.3, updated typings

* Bumped SC to 0.11

* Fix command in usage hint

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
2022-03-20 18:09:24 +01:00
δυς
f5295c3242 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
Alec LaLonde
0db8f7d250 Fixed help command reference 2021-12-27 13:51:37 -07:00
Alec LaLonde
df35d33b36 fix: Updated bot help text 2021-12-27 13:51:37 -07:00
Alec LaLonde
726ab73e29 Added !mg prefix to discord-bot commands, added help section (#979) 2021-12-20 14:19:55 +01:00
Alec LaLonde
fe75bb019f Added response punctuation 2021-11-23 16:27:58 -07:00
Alec LaLonde
cad515e8fa Disabled auto-activation during setAddress 2021-11-23 16:27:58 -07:00
Alec LaLonde
c885bc2009 First pass at addAlias using sourcecred API 2021-11-23 16:27:58 -07:00
Will Holcomb
6c9ae80f3a fixing various typescript and dependency issues 🧷 2021-10-29 21:16:28 -06:00
Alec LaLonde
957f641b79 Implemented discord role manager trigger 2021-09-10 11:25:58 -06:00
Alec LaLonde
1783a34dfb Cleaned up some config, error handling 2021-08-26 10:10:01 -06:00
Alec LaLonde
c080e196af Fixed oauth handler / guild insert 2021-08-26 10:10:01 -06:00
Alec LaLonde
86bd86ba34 Added saveGuildInformation action 2021-08-26 10:10:01 -06:00
Alec LaLonde
30dbc737a8 Added guild_metadata table to hold admin-only guild information 2021-08-26 10:10:01 -06:00
Hammad Jutt
142aa8a9a3 Allow users to force-update their linked ETH address
Removed sc_identity_id from Player table because it enforces ETH addresses to be used as the single source of truth for users and prevents conflicts when users update their ETH address in the ledger. sc_identity_id is not needing anywhere in our backend / data model.
2021-07-05 21:44:14 -06:00
Hammad Jutt
3cfaa8f083 Use environment variable for SourceCred ledger branch
This prevents people from accidentally mesing up the master ledger in local / staging environments.
2021-06-13 23:57:34 -06:00
Alec LaLonde
66db937c82 Cleaned up env variables, extracted to env-groups 2021-05-20 15:38:05 -06:00
Alec LaLonde
cc8326361e Made xp weekly change more readable (#569) 2021-05-19 15:19:51 +05:30
Hammad Jutt
51f82e6e2c Ignore d.ts files in discord bot glob 2021-05-18 11:31:43 -06:00
Alec LaLonde
f653d0879e Added an env var to specify which types of files are loaded 2021-05-18 11:31:43 -06:00
dependabot[bot]
b845e7d162 Bump eslint-plugin-import from 2.22.1 to 2.23.2 (#560)
* Bump eslint-plugin-import from 2.22.1 to 2.23.2

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.2)

Signed-off-by: dependabot[bot] <support@github.com>

* fixed eslint-plugin-import update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
2021-05-17 23:12:47 +05:30
Hammad Jutt
a512b0ac76 Finalize setEthAddress command 2021-05-15 14:00:44 -06:00
Alec LaLonde
65b4d27ece Removed prefix as it was colliding with existing bot 2021-05-06 13:07:32 -06:00
Alec LaLonde
0b6e4aedde Changed to load XP using accounts.json as beore 2021-05-06 13:07:32 -06:00
Alec LaLonde
ef6c2ef545 Fixed dynamic loading of discord classes / commands 2021-05-06 13:07:32 -06:00
Alec LaLonde
d0bf595126 Fixed backend boot issue 2021-05-06 13:07:32 -06:00
Alec LaLonde
2efaf525b2 Fixed globs 2021-05-06 13:07:32 -06:00
Alec LaLonde
5209dc14cf Migrated existing xp command functionality 2021-05-06 13:07:32 -06:00
Alec LaLonde
1283669a5e Fixed docker build 2021-05-06 13:07:32 -06:00
Alec LaLonde
fbb70e54a8 Added Dockerfile for discord-bot 2021-05-06 13:07:32 -06:00
Hammad Jutt
53bebc015d Implement activation of identities and persisting ledger 2021-05-06 13:07:32 -06:00