darkSheep
darkSheep
> > > 如果这个群组之前被置顶了,那么使用 > > `group = bot.groups().search('group_name')[0]` > > 是无法找到该群组的 终于找到问题了,原来是置顶了的缘故,谢谢大佬
groups = bot.groups().search('****')[0] Traceback (most recent call last): File "", line 1, in IndexError: list index out of range 置顶群报错如上
groups = bot.groups().search('19尔雅吃胖胖')[0] Traceback (most recent call last): File "", line 1, in IndexError: list index out of range
> done in #68 by the way,i'm the boy recognized you in teacher introduction the bootcamp that just ended last week😬 what a coincidence!🥳
> https://apisix.apache.org/docs/apisix/discovery/dns/ Does this help you? thanks for your help but seems this config can only let upstreams use a dns server, can not set `valid=10s;` to keep refresh to...
By checking you need to add `local fetch_secrets = require("apisix.secret").fetch_secrets` and ```lua function _M.rewrite(plugin_conf, ctx) local conf = fetch_secrets(plugin_conf) ``` like https://github.com/apache/apisix/pull/11451